다음을 통해 공유


Credential 속성

Gets or sets the credential that is associated with the login.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<DisplayNameKeyAttribute("Login_CredentialName")> _
<DisplayDescriptionKeyAttribute("Login_CredentialDesc")> _
Property Credential As String
    Get
    Set
‘사용 방법
Dim instance As ILoginOptions
Dim value As String

value = instance.Credential

instance.Credential = value
[DisplayNameKeyAttribute("Login_CredentialName")]
[DisplayDescriptionKeyAttribute("Login_CredentialDesc")]
string Credential { get; set; }
[DisplayNameKeyAttribute(L"Login_CredentialName")]
[DisplayDescriptionKeyAttribute(L"Login_CredentialDesc")]
property String^ Credential {
    String^ get ();
    void set (String^ value);
}
[<DisplayNameKeyAttribute("Login_CredentialName")>]
[<DisplayDescriptionKeyAttribute("Login_CredentialDesc")>]
abstract Credential : string with get, set
function get Credential () : String
function set Credential (value : String)

속성 값

유형: System. . :: . .String
A String value that contains the credential that is associated with the login.