共用方式為


IUserOptions.AsymmetricKey 屬性

Gets a key that is used for encryption and decryption. Asymmetric keys are related and form a key pair.

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

語法

'宣告
<DisplayNameKeyAttribute("User_AsymmetricKeyName")> _
<DisplayDescriptionKeyAttribute("User_AsymmetricKeyDesc")> _
ReadOnly Property AsymmetricKey As String 
    Get
'用途
Dim instance As IUserOptions 
Dim value As String 

value = instance.AsymmetricKey
[DisplayNameKeyAttribute("User_AsymmetricKeyName")]
[DisplayDescriptionKeyAttribute("User_AsymmetricKeyDesc")]
string AsymmetricKey { get; }
[DisplayNameKeyAttribute(L"User_AsymmetricKeyName")]
[DisplayDescriptionKeyAttribute(L"User_AsymmetricKeyDesc")]
property String^ AsymmetricKey {
    String^ get ();
}
[<DisplayNameKeyAttribute("User_AsymmetricKeyName")>]
[<DisplayDescriptionKeyAttribute("User_AsymmetricKeyDesc")>]
abstract AsymmetricKey : string
function get AsymmetricKey () : String

屬性值

型別:System.String
A string value that contains the key.

請參閱

參考

IUserOptions 介面

Microsoft.SqlServer.Management.Smo 命名空間