Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Initializes a new instance of the SfcObjectQuery class with the specified domain and active queries mode. Ne faites pas directement référence à 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 ISfcDomain, _
activeQueriesMode As SfcObjectQueryMode _
)
'Utilisation
Dim domain As ISfcDomain
Dim activeQueriesMode As SfcObjectQueryMode
Dim instance As New SfcObjectQuery(domain, _
activeQueriesMode)
public SfcObjectQuery(
ISfcDomain domain,
SfcObjectQueryMode activeQueriesMode
)
public:
SfcObjectQuery(
ISfcDomain^ domain,
SfcObjectQueryMode activeQueriesMode
)
new :
domain:ISfcDomain *
activeQueriesMode:SfcObjectQueryMode -> SfcObjectQuery
public function SfcObjectQuery(
domain : ISfcDomain,
activeQueriesMode : SfcObjectQueryMode
)
Paramètres
- domain
Type : Microsoft.SqlServer.Management.Sdk.Sfc.ISfcDomain
The root of the SfcSfcInstance object tree to query.
- activeQueriesMode
Type : Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectQueryMode
The CachedQueries avoids any issues with more than one running query by first caching the query results and closing the query data reader.