ServiceContractExtender constructeur (ServiceContract)
Initializes a new instance of the ServiceContractExtender class and associates it with an instance of the ServiceContract class.
Espace de noms : Microsoft.SqlServer.Management.Smo.Broker
Assembly : Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub New ( _
serviceContract As ServiceContract _
)
'Utilisation
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
)
Paramètres
- serviceContract
Type : 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.