Partager via


Méthode DataSourceCredentials.CreateFromCiphertext

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

Creates a DataSourceCredentials object from a cipher text.

Espace de noms :  Microsoft.ReportingServices.RdlObjectModel
Assembly :  Microsoft.ReportingServices.Designer.Controls (en Microsoft.ReportingServices.Designer.Controls.dll)

Syntaxe

'Déclaration
Public Shared Function CreateFromCiphertext ( _
    encryptedUserName As String, _
    encryptedPassword As String _
) As DataSourceCredentials
'Utilisation
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

Paramètres

  • encryptedUserName
    Type : System.String
    The encrypted user name.
  • encryptedPassword
    Type : System.String
    The encrypted password.

Valeur de retour

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

Voir aussi

Référence

DataSourceCredentials Classe

Espace de noms Microsoft.ReportingServices.RdlObjectModel