Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Property Value
Type: System.String
A String value that contains the credential that is associated with the login.