Dela via


ITableOptions.Owner Property

Gets or sets the owner of the table options.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<DisplayNameKeyAttribute("Table_OwnerName")> _
<DisplayDescriptionKeyAttribute("Table_OwnerDesc")> _
Property Owner As String
    Get
    Set
'Usage
Dim instance As ITableOptions
Dim value As String

value = instance.Owner

instance.Owner = value
[DisplayNameKeyAttribute("Table_OwnerName")]
[DisplayDescriptionKeyAttribute("Table_OwnerDesc")]
string Owner { get; set; }
[DisplayNameKeyAttribute(L"Table_OwnerName")]
[DisplayDescriptionKeyAttribute(L"Table_OwnerDesc")]
property String^ Owner {
    String^ get ();
    void set (String^ value);
}
[<DisplayNameKeyAttribute("Table_OwnerName")>]
[<DisplayDescriptionKeyAttribute("Table_OwnerDesc")>]
abstract Owner : string with get, set
function get Owner () : String
function set Owner (value : String)

Property Value

Type: System.String
A String value that specifies the owner of the table options.