Costruttore DataSourceCredentials (String, String)
Questa API supporta l'infrastruttura SQL Server 2012 e non può essere utilizzata direttamente dal codice.
Initializes a new instance of the DataSourceCredentials class using the specified user name and password.
Spazio dei nomi Microsoft.ReportingServices.RdlObjectModel
Assembly: Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)
Sintassi
'Dichiarazione
Public Sub New ( _
userName As String, _
password As String _
)
'Utilizzo
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
)
Parametri
- userName
Tipo: System.String
The user name.
- password
Tipo: System.String
The password.