次の方法で共有


User.AsymmetricKey プロパティ

ユーザーの非対称キーを取得または設定します。

この API は、CLS に準拠していません。 

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
<SfcReferenceAttribute(GetType(AsymmetricKey), "Server[@Name = '{0}']/Database[@Name = '{1}']/AsymmetricKey[@Name = '{2}']",  _
    )> _
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
<CLSCompliantAttribute(False)> _
Public Property AsymmetricKey As String 
    Get 
    Set
'使用
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}']", 
    )]
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)]
[CLSCompliantAttribute(false)]
public string AsymmetricKey { get; set; }
[SfcReferenceAttribute(typeof(AsymmetricKey), L"Server[@Name = '{0}']/Database[@Name = '{1}']/AsymmetricKey[@Name = '{2}']", 
    )]
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone)]
[CLSCompliantAttribute(false)]
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}']", 
    )>]
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)>]
[<CLSCompliantAttribute(false)>]
abstract AsymmetricKey : string with get, set
[<SfcReferenceAttribute(typeof(AsymmetricKey), "Server[@Name = '{0}']/Database[@Name = '{1}']/AsymmetricKey[@Name = '{2}']", 
    )>]
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)>]
[<CLSCompliantAttribute(false)>]
override AsymmetricKey : string with get, set
final function get AsymmetricKey () : String 
final function set AsymmetricKey (value : String)

プロパティ値

型: System.String
ユーザーの非対称キーを示す String オブジェクト値です。

実装

IUserOptions.AsymmetricKey

使用例

ユーザー、ロール、およびログインの管理

関連項目

参照

User クラス

Microsoft.SqlServer.Management.Smo 名前空間

その他の技術情報

プリンシパル (データベース エンジン)

CREATE USER (Transact-SQL)