Share via


Propriété Certificate

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<DisplayNameKeyAttribute("Login_CertificateName")> _
<DisplayDescriptionKeyAttribute("Login_CertificateDesc")> _
Property Certificate As String
    Get
    Set
'Utilisation
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)

Valeur de propriété

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