UserDefinedTableType.Owner Property

 

Applies To: SQL Server 2016 Preview

Gets the name of the owner of the UserDefinedTableType object.

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

Syntax

[SfcReferenceAttribute(typeof(ApplicationRole), "Server[@Name = '{0}']/Database[@Name = '{1}']/ApplicationRole[@Name = '{2}']", 
    new string[] { ... })]
[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.SqlAzureDatabase | SfcPropertyFlags.Design)]
[SfcReferenceAttribute(typeof(User), "Server[@Name = '{0}']/Database[@Name = '{1}']/User[@Name = '{2}']", 
    new string[] { ... })]
[SfcReferenceAttribute(typeof(DatabaseRole), "Server[@Name = '{0}']/Database[@Name = '{1}']/Role[@Name = '{2}']", 
    new string[] { ... })]
[CLSCompliantAttribute(false)]
public string Owner { get; set; }
public:
[SfcReferenceAttribute((ApplicationRole^::typeid), "Server[@Name = '{0}']/Database[@Name = '{1}']/ApplicationRole[@Name = '{2}']", 
    new array<String^>^ { ... })]
[SfcPropertyAttribute(SfcPropertyFlags::None | SfcPropertyFlags::Standalone | SfcPropertyFlags::SqlAzureDatabase | SfcPropertyFlags::Design)]
[SfcReferenceAttribute((User^::typeid), "Server[@Name = '{0}']/Database[@Name = '{1}']/User[@Name = '{2}']", 
    new array<String^>^ { ... })]
[SfcReferenceAttribute((DatabaseRole^::typeid), "Server[@Name = '{0}']/Database[@Name = '{1}']/Role[@Name = '{2}']", 
    new array<String^>^ { ... })]
[CLSCompliantAttribute(false)]
property String^ Owner {
    String^ get();
    void set(String^ value);
}
[<SfcReferenceAttribute(typeof(ApplicationRole), "Server[@Name = '{0}']/Database[@Name = '{1}']/ApplicationRole[@Name = '{2}']",
    [| ... |])>]
[<SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.SqlAzureDatabase | SfcPropertyFlags.Design)>]
[<SfcReferenceAttribute(typeof(User), "Server[@Name = '{0}']/Database[@Name = '{1}']/User[@Name = '{2}']",
    [| ... |])>]
[<SfcReferenceAttribute(typeof(DatabaseRole), "Server[@Name = '{0}']/Database[@Name = '{1}']/Role[@Name = '{2}']",
    [| ... |])>]
[<CLSCompliantAttribute(false)>]
member Owner : string with get, set
<SfcReferenceAttribute(GetType(ApplicationRole), "Server[@Name = '{0}']/Database[@Name = '{1}']/ApplicationRole[@Name = '{2}']",
    New String() { ... })>
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design)>
<SfcReferenceAttribute(GetType(User), "Server[@Name = '{0}']/Database[@Name = '{1}']/User[@Name = '{2}']",
    New String() { ... })>
<SfcReferenceAttribute(GetType(DatabaseRole), "Server[@Name = '{0}']/Database[@Name = '{1}']/Role[@Name = '{2}']",
    New String() { ... })>
<CLSCompliantAttribute(False)>
Public Property Owner As String

Property Value

Type: System.String

A String value that contains the name of the object owner.

See Also

UserDefinedTableType Class
Microsoft.SqlServer.Management.Smo Namespace

Return to top