Share via


Propriété Owner

Gets the the owner of the database.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<DisplayNameKeyAttribute("Database_OwnerName")> _
<DisplayDescriptionKeyAttribute("Database_OwnerDesc")> _
ReadOnly Property Owner As String
    Get
'Utilisation
Dim instance As IDatabaseOptions
Dim value As String

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

Valeur de propriété

Type : System. . :: . .String
A String value that specifies the database owner.