ServiceContractCollection.Parent Property

Gets the ServiceBroker object that is the parent of the ServiceContract 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 ServiceContractCollection 
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 ServiceBroker object that is the parent of the ServiceContract object.

Examples

Using Collections

See Also

Reference

ServiceContractCollection Class

Microsoft.SqlServer.Management.Smo.Broker Namespace

Other Resources

Using Collections