Freigeben über


Certificate-Eigenschaft

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<DisplayNameKeyAttribute("Login_CertificateName")> _
<DisplayDescriptionKeyAttribute("Login_CertificateDesc")> _
Property Certificate As String
    Get
    Set
'Usage
Dim instance As ILoginOptions
Dim value As String

value = instance.Certificate

instance.Certificate = value
[DisplayNameKeyAttribute("Login_CertificateName")]
[DisplayDescriptionKeyAttribute("Login_CertificateDesc")]
string Certificate { get; set; }
[DisplayNameKeyAttribute(L"Login_CertificateName")]
[DisplayDescriptionKeyAttribute(L"Login_CertificateDesc")]
property String^ Certificate {
    String^ get ();
    void set (String^ value);
}
[<DisplayNameKeyAttribute("Login_CertificateName")>]
[<DisplayDescriptionKeyAttribute("Login_CertificateDesc")>]
abstract Certificate : string with get, set
function get Certificate () : String
function set Certificate (value : String)

Eigenschaftswert

Typ: System. . :: . .String
A String value that contains the certificate that is associated with the login.