次の方法で共有


DataSourceCredentials.CreateFromCiphertext メソッド

この API は、SQL Server 2012 インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。

暗号化テキストから DataSourceCredentials オブジェクトを作成します。

名前空間:  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
    暗号化されたユーザー名。
  • encryptedPassword
    型: System.String
    暗号化されたパスワード。

戻り値

型: Microsoft.ReportingServices.RdlObjectModel.DataSourceCredentials
DataSourceCredentials オブジェクト。

関連項目

参照

DataSourceCredentials クラス

Microsoft.ReportingServices.RdlObjectModel 名前空間