Share via


MessageTypeMappingCollection.Parent Property

Gets the ServiceContract object that is the parent of the MessageTypeMappingCollection object.

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

Syntax

'Declaration
Public ReadOnly Property Parent As ServiceContract
    Get
'Usage
Dim instance As MessageTypeMappingCollection
Dim value As ServiceContract

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

Property Value

Type: Microsoft.SqlServer.Management.Smo.Broker.ServiceContract
A ServiceContract object that is the parent of the MessageTypeMappingCollection object.

Remarks

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.