IViewOptions.Schema Property

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

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

Syntax

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

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

Property Value

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