ILoginOptions.AsymmetricKey Property

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

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

Syntax

'Declaration
<DisplayDescriptionKeyAttribute("Login_AsymmetricKeyDesc")> _
<DisplayNameKeyAttribute("Login_AsymmetricKeyName")> _
Property AsymmetricKey As String
    Get
    Set
'Usage
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)

Property Value

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