다음을 통해 공유


DataSourceCredentials.CreateFromCiphertext 메서드

이 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.

참고 항목

참조

DataSourceCredentials 클래스

Microsoft.ReportingServices.RdlObjectModel 네임스페이스