共用方式為


TableViewTableTypeBase.Schema 屬性

Gets or sets a String value that specifies the name of the schema that contains the view table type.

此 API 不符合 CLS 標準。 符合 CLS 標準的替代項目是 。

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design)> _
<CLSCompliantAttribute(False)> _
<SfcReferenceAttribute(GetType(Schema), GetType(SchemaCustomResolver),  _
    "Resolve", )> _
<SfcKeyAttribute()> _
Public Overrides Property Schema As String 
    Get 
    Set
'用途
Dim instance As TableViewTableTypeBase 
Dim value As String 

value = instance.Schema

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

屬性值

型別:System.String
A String value that specifies the name of the schema that contains the view table type.

請參閱

參考

TableViewTableTypeBase 類別

Microsoft.SqlServer.Management.Smo 命名空間