SfcObjectQuery 생성자 (ISfcDomain, SfcObjectQueryMode)
Initializes a new instance of the SfcObjectQuery class with the specified domain and active queries mode. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
네임스페이스: Microsoft.SqlServer.Management.Sdk.Sfc
어셈블리: Microsoft.SqlServer.Management.Sdk.Sfc(Microsoft.SqlServer.Management.Sdk.Sfc.dll)
구문
‘선언
Public Sub New ( _
domain As ISfcDomain, _
activeQueriesMode As SfcObjectQueryMode _
)
‘사용 방법
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
)
매개 변수
- domain
유형: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcDomain
The root of the SfcSfcInstance object tree to query.
- activeQueriesMode
유형: 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.