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 nullnull 參考 (在 Visual Basic 中為 Nothing), the Mode property is set to Offline and cannot be changed; otherwise, the Mode property is set to Online.