共用方式為


IDatabaseOptions.Owner 屬性

Gets the the owner of the database.

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

語法

'宣告
<DisplayDescriptionKeyAttribute("Database_OwnerDesc")> _
<DisplayNameKeyAttribute("Database_OwnerName")> _
ReadOnly Property Owner As String 
    Get
'用途
Dim instance As IDatabaseOptions 
Dim value As String 

value = instance.Owner
[DisplayDescriptionKeyAttribute("Database_OwnerDesc")]
[DisplayNameKeyAttribute("Database_OwnerName")]
string Owner { get; }
[DisplayDescriptionKeyAttribute(L"Database_OwnerDesc")]
[DisplayNameKeyAttribute(L"Database_OwnerName")]
property String^ Owner {
    String^ get ();
}
[<DisplayDescriptionKeyAttribute("Database_OwnerDesc")>]
[<DisplayNameKeyAttribute("Database_OwnerName")>]
abstract Owner : string
function get Owner () : String

屬性值

型別:System.String
A String value that specifies the database owner.

請參閱

參考

IDatabaseOptions 介面

Microsoft.SqlServer.Management.Smo 命名空間