Share via


User.AsymmetricKey Property

Gets or sets the asymmetric key for the user.

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 User
Dim value As String

value = instance.AsymmetricKey

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

Property Value

Type: System.String
A String object value that specifies the asymmetric key for the user.