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.