Delen via


IUserOptions.AsymmetricKey Property

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

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

Syntax

'Declaration
<DisplayNameKeyAttribute("User_AsymmetricKeyName")> _
<DisplayDescriptionKeyAttribute("User_AsymmetricKeyDesc")> _
ReadOnly Property AsymmetricKey As String
    Get
'Usage
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

Property Value

Type: System.String
A string value that contains the key.