共用方式為


CreateFromCiphertext 方法

此 API 支援 基礎結構,但無法直接從您的程式碼使用。

命名空間:  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

參數