此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。
Creates a DataSourceCredentials object from a cipher text.
命名空间: Microsoft.ReportingServices.RdlObjectModel
程序集: Microsoft.ReportingServices.Designer.Controls(在 Microsoft.ReportingServices.Designer.Controls.dll 中)
语法
声明
Public Shared Function CreateFromCiphertext ( _
encryptedUserName As String, _
encryptedPassword As String _
) As DataSourceCredentials
用法
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
参数
- encryptedUserName
类型:System.String
The encrypted user name.
- encryptedPassword
类型:System.String
The encrypted password.
返回值
类型:Microsoft.ReportingServices.RdlObjectModel.DataSourceCredentials
A DataSourceCredentials object.