Partilhar via


Construtor DataSourceCredentials (String, String)

Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.

Initializes a new instance of the DataSourceCredentials class using the specified user name and password.

Namespace:  Microsoft.ReportingServices.RdlObjectModel
Assembly:  Microsoft.ReportingServices.Designer.Controls (em Microsoft.ReportingServices.Designer.Controls.dll)

Sintaxe

'Declaração
Public Sub New ( _
    userName As String, _
    password As String _
)
'Uso
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
)

Parâmetros

Consulte também

Referência

DataSourceCredentials Classe

Sobrecarregado DataSourceCredentials

Namespace Microsoft.ReportingServices.RdlObjectModel