Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets or sets the certificate for the user.
This API is not CLS-compliant.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<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
'Usage
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)
Property Value
Type: System.String
A String object value that specifies the certificate for the user.
Implements
Examples
Managing Users, Roles, and Logins
See Also
Reference
Microsoft.SqlServer.Management.Smo Namespace