Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Creates a DataSourceCredentials object from a cipher text.
Namespace: Microsoft.ReportingServices.RdlObjectModel
Assembly: Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)
Syntax
'Declaration
Public Shared Function CreateFromCiphertext ( _
encryptedUserName As String, _
encryptedPassword As String _
) As DataSourceCredentials
'Usage
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
Parameters
- encryptedUserName
Type: System.String
The encrypted user name.
- encryptedPassword
Type: System.String
The encrypted password.
Return Value
Type: Microsoft.ReportingServices.RdlObjectModel.DataSourceCredentials
A DataSourceCredentials object.