共用方式為


ILoginOptions.AsymmetricKey 屬性

Gets or sets the asymmetric key that is associated with the login.

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

語法

'宣告
<DisplayDescriptionKeyAttribute("Login_AsymmetricKeyDesc")> _
<DisplayNameKeyAttribute("Login_AsymmetricKeyName")> _
Property AsymmetricKey As String 
    Get 
    Set
'用途
Dim instance As ILoginOptions 
Dim value As String 

value = instance.AsymmetricKey

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

屬性值

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

請參閱

參考

ILoginOptions 介面

Microsoft.SqlServer.Management.Smo 命名空間