Constructeur SfcConnectionContext
Initializes a new instance of the SfcConnectionContext class. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Espace de noms : Microsoft.SqlServer.Management.Sdk.Sfc
Assembly : Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntaxe
'Déclaration
Public Sub New ( _
domain As ISfcHasConnection _
)
'Utilisation
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
)
Paramètres
- domain
Type : Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .ISfcHasConnection
An ISfcHasConnection object that contains the connection to the domain instance. If this value is nullNothingnullptrunitune référence Null (Nothing dans Visual Basic), the Mode property is set to Offline and cannot be changed; otherwise, the Mode property is set to Online.
Voir aussi