Sdílet prostřednictvím


AsymmetricKey.Owner Property

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute> _
Public Property Owner As String
    Get
    Set
'Usage
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)

Property Value

Type: 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.