次の方法で共有


Credential プロパティ

ログインに関連付けられた資格情報を取得します。

名前空間:  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
ログインに関連付けられた資格情報を示す String 値です。

実装

ILoginOptions. . :: . .Credential