Share via


ServiceContractExtender Constructor (ServiceContract)

Initializes a new instance of the ServiceContractExtender class and associates it with an instance of the ServiceContract class.

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

Syntax

'Declaration
Public Sub New ( _
    serviceContract As ServiceContract _
)
'Usage
Dim serviceContract As ServiceContract

Dim instance As New ServiceContractExtender(serviceContract)
public ServiceContractExtender(
    ServiceContract serviceContract
)
public:
ServiceContractExtender(
    ServiceContract^ serviceContract
)
new : 
        serviceContract:ServiceContract -> ServiceContractExtender
public function ServiceContractExtender(
    serviceContract : ServiceContract
)

Parameters