Свойство Login.Certificate
Gets the certificate associated with the login.
Этот API-интерфейс несовместим с CLS.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone, _
"string.empty")> _
<CLSCompliantAttribute(False)> _
<SfcReferenceAttribute(GetType(Certificate), "Server[@Name = '{0}']/Database[@Name = 'master']/Certificate[@Name = '{1}']", _
)> _
Public Property Certificate As String
Get
Set
'Применение
Dim instance As Login
Dim value As String
value = instance.Certificate
instance.Certificate = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone,
"string.empty")]
[CLSCompliantAttribute(false)]
[SfcReferenceAttribute(typeof(Certificate), "Server[@Name = '{0}']/Database[@Name = 'master']/Certificate[@Name = '{1}']",
)]
public string Certificate { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone,
L"string.empty")]
[CLSCompliantAttribute(false)]
[SfcReferenceAttribute(typeof(Certificate), L"Server[@Name = '{0}']/Database[@Name = 'master']/Certificate[@Name = '{1}']",
)]
public:
virtual property String^ Certificate {
String^ get () sealed;
void set (String^ value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone,
"string.empty")>]
[<CLSCompliantAttribute(false)>]
[<SfcReferenceAttribute(typeof(Certificate), "Server[@Name = '{0}']/Database[@Name = 'master']/Certificate[@Name = '{1}']",
)>]
abstract Certificate : string with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone,
"string.empty")>]
[<CLSCompliantAttribute(false)>]
[<SfcReferenceAttribute(typeof(Certificate), "Server[@Name = '{0}']/Database[@Name = 'master']/Certificate[@Name = '{1}']",
)>]
override Certificate : string with get, set
final function get Certificate () : String
final function set Certificate (value : String)
Значение свойства
Тип: System.String
A String value that specifies the certificate associated with the login.
Реализует
Примеры
Управление пользователями, ролями и именами входа
См. также
Справочник
Пространство имен Microsoft.SqlServer.Management.Smo