User.Certificate Propiedad
Gets or sets the certificate for the user.
Esta API no es compatible con CLS.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
<SfcReferenceAttribute(GetType(Certificate), "Server[@Name = '{0}']/Database[@Name = '{1}']/Certificate[@Name = '{2}']", _
)> _
<CLSCompliantAttribute(False)> _
Public Property Certificate As String
Get
Set
'Uso
Dim instance As User
Dim value As String
value = instance.Certificate
instance.Certificate = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)]
[SfcReferenceAttribute(typeof(Certificate), "Server[@Name = '{0}']/Database[@Name = '{1}']/Certificate[@Name = '{2}']",
)]
[CLSCompliantAttribute(false)]
public string Certificate { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone)]
[SfcReferenceAttribute(typeof(Certificate), L"Server[@Name = '{0}']/Database[@Name = '{1}']/Certificate[@Name = '{2}']",
)]
[CLSCompliantAttribute(false)]
public:
virtual property String^ Certificate {
String^ get () sealed;
void set (String^ value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)>]
[<SfcReferenceAttribute(typeof(Certificate), "Server[@Name = '{0}']/Database[@Name = '{1}']/Certificate[@Name = '{2}']",
)>]
[<CLSCompliantAttribute(false)>]
abstract Certificate : string with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)>]
[<SfcReferenceAttribute(typeof(Certificate), "Server[@Name = '{0}']/Database[@Name = '{1}']/Certificate[@Name = '{2}']",
)>]
[<CLSCompliantAttribute(false)>]
override Certificate : string with get, set
final function get Certificate () : String
final function set Certificate (value : String)
Valor de la propiedad
Tipo: System.String
A String object value that specifies the certificate for the user.
Implementa
Ejemplos
Administrar usuarios, roles e inicios de sesión
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Management.Smo