Condividi tramite


Metodo DataSourceCredentials.CreateFromCiphertext

Questa API supporta l'infrastruttura SQL Server 2012 e non può essere utilizzata direttamente dal codice.

Creates a DataSourceCredentials object from a cipher text.

Spazio dei nomi  Microsoft.ReportingServices.RdlObjectModel
Assembly:  Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)

Sintassi

'Dichiarazione
Public Shared Function CreateFromCiphertext ( _
    encryptedUserName As String, _
    encryptedPassword As String _
) As DataSourceCredentials
'Utilizzo
Dim encryptedUserName As String 
Dim encryptedPassword As String 
Dim returnValue As DataSourceCredentials 

returnValue = DataSourceCredentials.CreateFromCiphertext(encryptedUserName, _
    encryptedPassword)
public static DataSourceCredentials CreateFromCiphertext(
    string encryptedUserName,
    string encryptedPassword
)
public:
static DataSourceCredentials^ CreateFromCiphertext(
    String^ encryptedUserName, 
    String^ encryptedPassword
)
static member CreateFromCiphertext : 
        encryptedUserName:string * 
        encryptedPassword:string -> DataSourceCredentials
public static function CreateFromCiphertext(
    encryptedUserName : String, 
    encryptedPassword : String
) : DataSourceCredentials

Parametri

Valore restituito

Tipo: Microsoft.ReportingServices.RdlObjectModel.DataSourceCredentials
A DataSourceCredentials object.

Vedere anche

Riferimento

DataSourceCredentials Classe

Spazio dei nomi Microsoft.ReportingServices.RdlObjectModel