Credential 属性

Gets the credential associated with the login.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute> _
Public Property Credential As String
    Get
    Set
用法
Dim instance As Login
Dim value As String

value = instance.Credential

instance.Credential = value
[SfcPropertyAttribute]
public string Credential { get; set; }
[SfcPropertyAttribute]
public:
virtual property String^ Credential {
    String^ get () sealed;
    void set (String^ value) sealed;
}
[<SfcPropertyAttribute>]
abstract Credential : string with get, set
[<SfcPropertyAttribute>]
override Credential : string with get, set
final function get Credential () : String
final function set Credential (value : String)

属性值

类型:System. . :: . .String
A String value that specifies the credential associated with the login.

实现

ILoginOptions. . :: . .Credential