Udostępnij za pośrednictwem


Właściwość Login.AsymmetricKey

Pobiera klucz asymetrycznego, skojarzone z logowania.

Ten interfejs API nie jest zgodny ze specyfikacją CLS. 

Przestrzeń nazw:  Microsoft.SqlServer.Management.Smo
Zestaw:  Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)

Składnia

'Deklaracja
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone,  _
    "string.empty")> _
<CLSCompliantAttribute(False)> _
<SfcReferenceAttribute(GetType(AsymmetricKey), "Server[@Name = '{0}']/Database[@Name = 'master']/AsymmetricKey[@Name = '{1}']",  _
    )> _
Public Property AsymmetricKey As String
    Get
    Set
'Użycie
Dim instance As Login
Dim value As String

value = instance.AsymmetricKey

instance.AsymmetricKey = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone, 
    "string.empty")]
[CLSCompliantAttribute(false)]
[SfcReferenceAttribute(typeof(AsymmetricKey), "Server[@Name = '{0}']/Database[@Name = 'master']/AsymmetricKey[@Name = '{1}']", 
    )]
public string AsymmetricKey { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone, 
    L"string.empty")]
[CLSCompliantAttribute(false)]
[SfcReferenceAttribute(typeof(AsymmetricKey), L"Server[@Name = '{0}']/Database[@Name = 'master']/AsymmetricKey[@Name = '{1}']", 
    )]
public:
virtual property String^ AsymmetricKey {
    String^ get () sealed;
    void set (String^ value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone, 
    "string.empty")>]
[<CLSCompliantAttribute(false)>]
[<SfcReferenceAttribute(typeof(AsymmetricKey), "Server[@Name = '{0}']/Database[@Name = 'master']/AsymmetricKey[@Name = '{1}']", 
    )>]
abstract AsymmetricKey : string with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone, 
    "string.empty")>]
[<CLSCompliantAttribute(false)>]
[<SfcReferenceAttribute(typeof(AsymmetricKey), "Server[@Name = '{0}']/Database[@Name = 'master']/AsymmetricKey[@Name = '{1}']", 
    )>]
override AsymmetricKey : string with get, set
final function get AsymmetricKey () : String
final function set AsymmetricKey (value : String)

Wartość właściwości

Typ: System.String
A String wartość określająca klucz asymetrycznego skojarzone z logowania.

Implementacje

ILoginOptions.AsymmetricKey