共用方式為


Owner 屬性

Gets or sets the name of the database principal that is the owner of the asymmetric key.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute> _
Public Property Owner As String
    Get
    Set
'用途
Dim instance As AsymmetricKey
Dim value As String

value = instance.Owner

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

屬性值

型別:System. . :: . .String
A String value that specifies the database principal (database user, database role, or asymmetric key) that is the owner of the asymmetric key.

範例

設定屬性