ServiceContractExtender 建構 (ServiceContract)
Initializes a new instance of the ServiceContractExtender class and associates it with an instance of the ServiceContract class.
命名空間: Microsoft.SqlServer.Management.Smo.Broker
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub New ( _
serviceContract As ServiceContract _
)
'用途
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
)
參數
- serviceContract
型別: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.