共用方式為


Parent 屬性

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

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

語法

'宣告
Public ReadOnly Property Parent As ServiceBroker
    Get
'用途
Dim instance As MessageTypeCollection
Dim value As ServiceBroker

value = instance.Parent
public ServiceBroker Parent { get; }
public:
property ServiceBroker^ Parent {
    ServiceBroker^ get ();
}
member Parent : ServiceBroker
function get Parent () : ServiceBroker

屬性值

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

範例

使用集合