共用方式為


ServiceBroker.Parent 屬性

Gets the Database object that is the parent of the ServiceBroker object.

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

語法

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

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

屬性值

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

範例

Readme_ServiceBrokerConfiguration

請參閱

參考

ServiceBroker 類別

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

其他資源

開發 (Service Broker)

管理 Service Broker

概觀 (Service Broker)