Delen via


MessageTypeCollection.Parent Property

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

Namespace:  Microsoft.SqlServer.Management.Smo.Broker
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public ReadOnly Property Parent As ServiceBroker 
    Get
'Usage
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

Property Value

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

Examples

Using Collections

See Also

Reference

MessageTypeCollection Class

Microsoft.SqlServer.Management.Smo.Broker Namespace

Other Resources

Using Collections