Поделиться через


Свойство Credential

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

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<DisplayNameKeyAttribute("Login_CredentialName")> _
<DisplayDescriptionKeyAttribute("Login_CredentialDesc")> _
Property Credential As String
    Get
    Set
'Применение
Dim instance As ILoginOptions
Dim value As String

value = instance.Credential

instance.Credential = value
[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);
}
[<DisplayNameKeyAttribute("Login_CredentialName")>]
[<DisplayDescriptionKeyAttribute("Login_CredentialDesc")>]
abstract Credential : string with get, set
function get Credential () : String
function set Credential (value : String)

Значение свойства

Тип System. . :: . .String
A String value that contains the credential that is associated with the login.