ILoginOptions.Credential 屬性
Gets or sets the credential that is associated with the login.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
<DisplayDescriptionKeyAttribute("Login_CredentialDesc")> _
<DisplayNameKeyAttribute("Login_CredentialName")> _
Property Credential As String
Get
Set
'用途
Dim instance As ILoginOptions
Dim value As String
value = instance.Credential
instance.Credential = value
[DisplayDescriptionKeyAttribute("Login_CredentialDesc")]
[DisplayNameKeyAttribute("Login_CredentialName")]
string Credential { get; set; }
[DisplayDescriptionKeyAttribute(L"Login_CredentialDesc")]
[DisplayNameKeyAttribute(L"Login_CredentialName")]
property String^ Credential {
String^ get ();
void set (String^ value);
}
[<DisplayDescriptionKeyAttribute("Login_CredentialDesc")>]
[<DisplayNameKeyAttribute("Login_CredentialName")>]
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.