ServiceContractExtender Constructor (ServiceContract)
Initializes a new instance of the ServiceContractExtender class and associates it with an instance of the ServiceContract class.
Espacio de nombres: Microsoft.SqlServer.Management.Smo.Broker
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Sub New ( _
serviceContract As ServiceContract _
)
'Uso
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
)
Parámetros
- serviceContract
Tipo: Microsoft.SqlServer.Management.Smo.Broker. . :: . .ServiceContract
A ServiceContract object that specifies the Service Broker contract with which this instance of the ServiceContractExtender object is associated.