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.