Partager via


Propriété IDatabaseOptions.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
<DisplayDescriptionKeyAttribute("Database_OwnerDesc")> _
<DisplayNameKeyAttribute("Database_OwnerName")> _
ReadOnly Property Owner As String 
    Get
'Utilisation
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

Valeur de propriété

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

Voir aussi

Référence

IDatabaseOptions Interface

Espace de noms Microsoft.SqlServer.Management.Smo