ServiceContractMapping.Parent 属性

Gets the BrokerService object that is the parent of the ServiceContractMapping object.

命名空间:  Microsoft.SqlServer.Management.Smo.Broker
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public Property Parent As BrokerService 
    Get 
    Set
用法
Dim instance As ServiceContractMapping 
Dim value As BrokerService 

value = instance.Parent

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

属性值

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

示例

Readme_ServiceBrokerConfiguration

请参阅

参考

ServiceContractMapping 类

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

其他资源

开发 (Service Broker)

管理 Service Broker

概述 (Service Broker)