User.AsymmetricKey Property
Gets or sets the asymmetric key for the user.
This API is not CLS-compliant.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Bildirim
<SfcReferenceAttribute(GetType(AsymmetricKey), "Server[@Name = '{0}']/Database[@Name = '{1}']/AsymmetricKey[@Name = '{2}']", _
)> _
<CLSCompliantAttribute(False)> _
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
Public Property AsymmetricKey As String
Get
Set
'Kullanım
Dim instance As User
Dim value As String
value = instance.AsymmetricKey
instance.AsymmetricKey = value
[SfcReferenceAttribute(typeof(AsymmetricKey), "Server[@Name = '{0}']/Database[@Name = '{1}']/AsymmetricKey[@Name = '{2}']",
)]
[CLSCompliantAttribute(false)]
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)]
public string AsymmetricKey { get; set; }
[SfcReferenceAttribute(typeof(AsymmetricKey), L"Server[@Name = '{0}']/Database[@Name = '{1}']/AsymmetricKey[@Name = '{2}']",
)]
[CLSCompliantAttribute(false)]
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone)]
public:
virtual property String^ AsymmetricKey {
String^ get () sealed;
void set (String^ value) sealed;
}
[<SfcReferenceAttribute(typeof(AsymmetricKey), "Server[@Name = '{0}']/Database[@Name = '{1}']/AsymmetricKey[@Name = '{2}']",
)>]
[<CLSCompliantAttribute(false)>]
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)>]
abstract AsymmetricKey : string with get, set
[<SfcReferenceAttribute(typeof(AsymmetricKey), "Server[@Name = '{0}']/Database[@Name = '{1}']/AsymmetricKey[@Name = '{2}']",
)>]
[<CLSCompliantAttribute(false)>]
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)>]
override AsymmetricKey : string with get, set
final function get AsymmetricKey () : String
final function set AsymmetricKey (value : String)
Property Value
Type: System.String
A String object value that specifies the asymmetric key for the user.
Implements
Examples
Managing Users, Roles, and Logins
See Also
Reference
Microsoft.SqlServer.Management.Smo Namespace