Owner Property

AsymmetricKey.Owner Property

 

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

This API is not CLS-compliant.

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

[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.SqlAzureDatabase)]
[SfcReferenceAttribute(typeof(ApplicationRole), "Server[@Name = '{0}']/Database[@Name = '{1}']/ApplicationRole[@Name = '{2}']", 
	new string[] { ... })]
[SfcReferenceAttribute(typeof(User), "Server[@Name = '{0}']/Database[@Name = '{1}']/User[@Name = '{2}']", 
	new string[] { ... })]
[SfcReferenceAttribute(typeof(DatabaseRole), "Server[@Name = '{0}']/Database[@Name = '{1}']/Role[@Name = '{2}']", 
	new string[] { ... })]
[CLSCompliantAttribute(false)]
public string Owner { get; set; }

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.

Return to top
Show:
© 2016 Microsoft