次の方法で共有


ScriptSchemaObjectBase.Schema プロパティ

スキーマを取得または設定します。

この API は、CLS に準拠していません。 

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

構文

'宣言
<SfcReferenceAttribute(GetType(Schema), GetType(SchemaCustomResolver),  _
    "Resolve", )> _
<CLSCompliantAttribute(False)> _
<SfcKeyAttribute()> _
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.Design)> _
Public Overridable Property Schema As String 
    Get 
    Set
'使用
Dim instance As ScriptSchemaObjectBase 
Dim value As String 

value = instance.Schema

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

プロパティ値

型: System.String
スキーマを示す String 値です。

使用例

スクリプト

関連項目

参照

ScriptSchemaObjectBase クラス

Microsoft.SqlServer.Management.Smo 名前空間