次の方法で共有


Schema プロパティ

ビュー オプションに関連付けられたスキーマを取得します。値の設定も可能です。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
<DisplayDescriptionKeyAttribute("ScriptSchemaObjectBase_SchemaDesc")> _
<DisplayNameKeyAttribute("ScriptSchemaObjectBase_SchemaName")> _
ReadOnly Property Schema As String
    Get
'使用
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

プロパティ値

型: System. . :: . .String
ビュー オプションに関連付けられたスキーマを示す String 値です。