DataSourceCredentials Constructor (String, String)
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Initializes a new instance of the DataSourceCredentials class using the specified user name and password.
Namespace: Microsoft.ReportingServices.RdlObjectModel
Assembly: Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)
Syntax
'Declaration
Public Sub New ( _
userName As String, _
password As String _
)
'Usage
Dim userName As String
Dim password As String
Dim instance As New DataSourceCredentials(userName, _
password)
public DataSourceCredentials(
string userName,
string password
)
public:
DataSourceCredentials(
String^ userName,
String^ password
)
new :
userName:string *
password:string -> DataSourceCredentials
public function DataSourceCredentials(
userName : String,
password : String
)
Parameters
- userName
Type: System.String
The user name.
- password
Type: System.String
The password.