Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.