Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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.