共用方式為


BrokerService.Parent 屬性

Gets or sets the ServiceBroker object that is the parent of the BrokerService object.

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

語法

'宣告
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public Property Parent As ServiceBroker 
    Get 
    Set
'用途
Dim instance As BrokerService 
Dim value As ServiceBroker 

value = instance.Parent

instance.Parent = value
[SfcObjectAttribute(SfcObjectRelationship.ParentObject)]
public ServiceBroker Parent { get; set; }
[SfcObjectAttribute(SfcObjectRelationship::ParentObject)]
public:
property ServiceBroker^ Parent {
    ServiceBroker^ get ();
    void set (ServiceBroker^ value);
}
[<SfcObjectAttribute(SfcObjectRelationship.ParentObject)>]
member Parent : ServiceBroker with get, set
function get Parent () : ServiceBroker 
function set Parent (value : ServiceBroker)

屬性值

型別:Microsoft.SqlServer.Management.Smo.Broker.ServiceBroker
A ServiceBroker object that is the parent of the BrokerService object.

範例

Readme_ServiceBrokerConfiguration

請參閱

參考

BrokerService 類別

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

其他資源

開發 (Service Broker)

管理 Service Broker

概觀 (Service Broker)