Login.AsymmetricKey Property

Gets the asymmetric key associated with the login.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property AsymmetricKey As String
    Get
    Set
'Usage
Dim instance As Login
Dim value As String

value = instance.AsymmetricKey

instance.AsymmetricKey = value
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)]
public string AsymmetricKey { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)]
public:
virtual property String^ AsymmetricKey {
    String^ get () sealed;
    void set (String^ value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
abstract AsymmetricKey : string with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
override AsymmetricKey : string with get, set
final function get AsymmetricKey () : String
final function set AsymmetricKey (value : String)

Property Value

Type: System.String
A String value that specifies asymmetric key associated with the login.

Implements

ILoginOptions.AsymmetricKey