MessageType.Parent 属性

Gets or sets the ServiceBroker object that is the parent of the MessageType 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 MessageType 
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 MessageType object.

示例

Readme_ServiceBrokerConfiguration

请参阅

参考

MessageType 类

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

其他资源

开发 (Service Broker)

管理 Service Broker

概述 (Service Broker)

CREATE MESSAGE TYPE (Transact-SQL)