Freigeben über


DataSourceCredentials-Konstruktor (String, String)

Diese API unterstützt die SQL Server 2012-Infrastruktur und ist nicht zur direkten Verwendung im Code bestimmt.

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
)

Parameter

Siehe auch

Verweis

DataSourceCredentials Klasse

DataSourceCredentials-Überladung

Microsoft.ReportingServices.RdlObjectModel-Namespace