Sdílet prostřednictvím


UserDefinedTableType.Schema Property

Gets or sets a String which contains the name of the Schema which owns the UserDefinedTableType.

This API is not CLS-compliant. 

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design)> _
<SfcKeyAttribute()> _
<SfcReferenceAttribute(GetType(Schema), GetType(SchemaCustomResolver),  _
    "Resolve", )> _
<CLSCompliantAttribute(False)> _
Public Overrides Property Schema As String 
    Get 
    Set
'Usage
Dim instance As UserDefinedTableType 
Dim value As String 

value = instance.Schema

instance.Schema = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)]
[SfcKeyAttribute()]
[SfcReferenceAttribute(typeof(Schema), typeof(SchemaCustomResolver), 
    "Resolve", )]
[CLSCompliantAttribute(false)]
public override string Schema { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Design)]
[SfcKeyAttribute()]
[SfcReferenceAttribute(typeof(Schema), typeof(SchemaCustomResolver), 
    L"Resolve", )]
[CLSCompliantAttribute(false)]
public:
virtual property String^ Schema {
    String^ get () override;
    void set (String^ value) override;
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)>]
[<SfcKeyAttribute()>]
[<SfcReferenceAttribute(typeof(Schema), typeof(SchemaCustomResolver), 
    "Resolve", )>]
[<CLSCompliantAttribute(false)>]
abstract Schema : string with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)>]
[<SfcKeyAttribute()>]
[<SfcReferenceAttribute(typeof(Schema), typeof(SchemaCustomResolver), 
    "Resolve", )>]
[<CLSCompliantAttribute(false)>]
override Schema : string with get, set
override function get Schema () : String 
override function set Schema (value : String)

Property Value

Type: System.String
A String which contains the name of the Schema which owns the UserDefinedTableType.

See Also

Reference

UserDefinedTableType Class

Microsoft.SqlServer.Management.Smo Namespace