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
)

参数