Get the credentials for specific data source.
    Namespace: 
   PerpetuumSoft.ReportingServices.Viewer.ClientAssembly: PerpetuumSoft.ReportingServices.Viewer.Client (in PerpetuumSoft.ReportingServices.Viewer.Client.dll) Version: 1.0.0.0
Syntax
| C# | 
|---|
public ReportDataSourceCredential GetCredential( string dataSourceName )  | 
| Visual Basic (Declaration) | 
|---|
Public Function GetCredential ( _ dataSourceName As String _ ) As ReportDataSourceCredential  | 
| Visual C++ | 
|---|
public: ReportDataSourceCredential^ GetCredential( String^ dataSourceName )  | 
Parameters
- dataSourceName
 - Type: System..::.String
The data source name.