Metoda DataSourceCredentials.CreateFromCiphertext
Ten interfejs API obsługuje infrastrukturę programu i nie jest przeznaczony do użycia bezpośrednio w kodzie.
Przestrzeń nazw: Microsoft.ReportingServices.RdlObjectModel
Zestaw: Microsoft.ReportingServices.Designer.Controls (w Microsoft.ReportingServices.Designer.Controls.dll)
Składnia
'Deklaracja
Public Shared Function CreateFromCiphertext ( _
encryptedUserName As String, _
encryptedPassword As String _
) As DataSourceCredentials
'Użycie
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
Parametry
- encryptedUserName
Typ: System.String
Nazwa użytkownika zaszyfrowanych.
- encryptedPassword
Typ: System.String
Zaszyfrowane hasło.
Wartość zwracana
Typ: Microsoft.ReportingServices.RdlObjectModel.DataSourceCredentials
A DataSourceCredentials obiektu.
Zobacz także