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


Свойство Credential

Gets the credential associated with the login.

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

Синтаксис

'Декларация
<SfcPropertyAttribute> _
Public Property Credential As String
    Get
    Set
'Применение
Dim instance As Login
Dim value As String

value = instance.Credential

instance.Credential = value
[SfcPropertyAttribute]
public string Credential { get; set; }
[SfcPropertyAttribute]
public:
virtual property String^ Credential {
    String^ get () sealed;
    void set (String^ value) sealed;
}
[<SfcPropertyAttribute>]
abstract Credential : string with get, set
[<SfcPropertyAttribute>]
override Credential : string with get, set
final function get Credential () : String
final function set Credential (value : String)

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

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

Реализует интерфейс

ILoginOptions. . :: . .Credential