共用方式為


ServiceQueue.Schema 屬性

Gets or sets the String containing the name of the Schema associated with the ServiceQueue

此 API 不符合 CLS 標準。 

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

語法

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

value = instance.Schema

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

屬性值

型別:System.String
A String containing the name of the Schema associated with the ServiceQueue.

請參閱

參考

ServiceQueue 類別

Microsoft.SqlServer.Management.Smo.Broker 命名空間