Partager via


QueryCounterInstance method of the MSFT_WvrAdminTasks class

Queries partition related performance counter information.

Syntax

uint32 QueryCounterInstance(
  [in]  string PartitionId,
  [out] string DataPartitionCounter,
  [out] string LogPartitionCounter,
  [out] string NetworkCounter
);

Parameters

PartitionId [in]

The partition ID.

DataPartitionCounter [out]

On success, returns the data partition counter.

LogPartitionCounter [out]

On success, returns the log partition counter.

NetworkCounter [out]

On success, returns the network counter.

Requirements

Minimum supported client
Windows 8
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\StorageReplica
MOF
Wvrcimprov.mof
DLL
Wvrcimprov.dll

See also

MSFT_WvrAdminTasks