SfcConnectionContext Constructor
Initializes a new instance of the SfcConnectionContext class. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntax
'Declaration
Public Sub New ( _
domain As ISfcHasConnection _
)
'Usage
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
)
Parameters
- domain
Type: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcHasConnection
An ISfcHasConnection object that contains the connection to the domain instance. If this value is nulla null reference (Nothing in Visual Basic), the Mode property is set to Offline and cannot be changed; otherwise, the Mode property is set to Online.