共用方式為


ILoginOptions.Certificate 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<DisplayDescriptionKeyAttribute("Login_CertificateDesc")> _
<DisplayNameKeyAttribute("Login_CertificateName")> _
Property Certificate As String 
    Get 
    Set
'用途
Dim instance As ILoginOptions 
Dim value As String 

value = instance.Certificate

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

屬性值

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

請參閱

參考

ILoginOptions 介面

Microsoft.SqlServer.Management.Smo 命名空間