Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the the owner of the database.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<DisplayDescriptionKeyAttribute("Database_OwnerDesc")> _
<DisplayNameKeyAttribute("Database_OwnerName")> _
ReadOnly Property Owner As String
Get
'Usage
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
Property Value
Type: System.String
A String value that specifies the database owner.