Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Gets or sets the credential that is associated with the login.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<DisplayDescriptionKeyAttribute("Login_CredentialDesc")> _
<DisplayNameKeyAttribute("Login_CredentialName")> _
Property Credential As String
Get
Set
'Usage
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)
Eigenschaftswert
Typ: System.String
A String value that contains the credential that is associated with the login.