Propriété ILoginOptions.Credential
Gets or sets the credential that is associated with the login.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
<DisplayDescriptionKeyAttribute("Login_CredentialDesc")> _
<DisplayNameKeyAttribute("Login_CredentialName")> _
Property Credential As String
Get
Set
'Utilisation
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)
Valeur de propriété
Type : System.String
A String value that contains the credential that is associated with the login.