Dela via


ITableOptions.Schema Property

Gets or sets the schema that is associated with the table options.

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

Syntax

'Declaration
<DisplayNameKeyAttribute("ScriptSchemaObjectBase_SchemaName")> _
<DisplayDescriptionKeyAttribute("ScriptSchemaObjectBase_SchemaDesc")> _
ReadOnly Property Schema As String
    Get
'Usage
Dim instance As ITableOptions
Dim value As String

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

Property Value

Type: System.String
A String value that specifies the schema that is associated with the table options.