共用方式為


IViewOptions.Schema 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<DisplayNameKeyAttribute("ScriptSchemaObjectBase_SchemaName")> _
<DisplayDescriptionKeyAttribute("ScriptSchemaObjectBase_SchemaDesc")> _
ReadOnly Property Schema As String 
    Get
'用途
Dim instance As IViewOptions 
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

屬性值

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

請參閱

參考

IViewOptions 介面

Microsoft.SqlServer.Management.Smo 命名空間