ServiceContractMapping.Parent Property

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

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

Syntax

'Declaration
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public Property Parent As BrokerService
    Get
    Set
'Usage
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)

Property Value

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