Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.
Initializes a new instance of the DataSourceCredentials class using the specified user name and password.
Espace de noms : Microsoft.ReportingServices.RdlObjectModel
Assembly : Microsoft.ReportingServices.Designer.Controls (en Microsoft.ReportingServices.Designer.Controls.dll)
Syntaxe
'Déclaration
Public Sub New ( _
userName As String, _
password As String _
)
'Utilisation
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
)
Paramètres
- userName
Type : System.String
The user name.
- password
Type : System.String
The password.