SfcConnectionContext 构造函数
Initializes a new instance of the SfcConnectionContext class. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
命名空间: Microsoft.SqlServer.Management.Sdk.Sfc
程序集: Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
语法
声明
Public Sub New ( _
domain As ISfcHasConnection _
)
用法
Dim domain As ISfcHasConnection
Dim instance As New SfcConnectionContext(domain)
public SfcConnectionContext(
ISfcHasConnection domain
)
public:
SfcConnectionContext(
ISfcHasConnection^ domain
)
new :
domain:ISfcHasConnection -> SfcConnectionContext
public function SfcConnectionContext(
domain : ISfcHasConnection
)
参数
- domain
类型:Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .ISfcHasConnection
An ISfcHasConnection object that contains the connection to the domain instance. If this value is nullNothingnullptrunitnull 引用(在 Visual Basic 中为 Nothing), the Mode property is set to Offline and cannot be changed; otherwise, the Mode property is set to Online.