Compartir a través de


ILoginOptions.Credential Propiedad

Gets or sets the credential that is associated with the login.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<DisplayDescriptionKeyAttribute("Login_CredentialDesc")> _
<DisplayNameKeyAttribute("Login_CredentialName")> _
Property Credential As String 
    Get 
    Set
'Uso
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)

Valor de la propiedad

Tipo: System.String
A String value that contains the credential that is associated with the login.

Vea también

Referencia

ILoginOptions Interfaz

Espacio de nombres Microsoft.SqlServer.Management.Smo