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)