共用方式為


Database.Owner Property

Definition

Important

This API is not CLS-compliant.

[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.SqlAzureDatabase | Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Standalone)]
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcReference(typeof(Microsoft.SqlServer.Management.Smo.Login), "Server[@Name = '{0}']/Login[@Name = '{1}']", new System.String[] { "Parent.ConnectionContext.TrueName", "Owner" })]
[System.CLSCompliant(false)]
public string Owner { get; }
[<Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.SqlAzureDatabase | Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Standalone)>]
[<Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcReference(typeof(Microsoft.SqlServer.Management.Smo.Login), "Server[@Name = '{0}']/Login[@Name = '{1}']", new System.String[] { "Parent.ConnectionContext.TrueName", "Owner" })>]
[<System.CLSCompliant(false)>]
member this.Owner : string
Public ReadOnly Property Owner As String

Property Value

Implements

Attributes

Applies to