Udostępnij przez


ILoginOptions.Credential Property

Gets or sets the credential that is associated with the login. This property is not CLS-compliant.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Deklaracja
<DisplayNameKeyAttribute("Login_CredentialName")> _
<DisplayDescriptionKeyAttribute("Login_CredentialDesc")> _
Property Credential As String
[DisplayNameKeyAttribute("Login_CredentialName")] 
[DisplayDescriptionKeyAttribute("Login_CredentialDesc")] 
string Credential { get; set; }
[DisplayNameKeyAttribute(L"Login_CredentialName")] 
[DisplayDescriptionKeyAttribute(L"Login_CredentialDesc")] 
property String^ Credential {
    String^ get ();
    void set (String^ value);
}
/** @property */
String get_Credential ()

/** @property */
void set_Credential (String value)
function get Credential () : String

function set Credential (value : String)

Property Value

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

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.