IDataCollectorSet::Status property

Retrieves the status of the data collector set.

This property is read-only.

Syntax


HRESULT get_Status(
  DataCollectorSetStatus *pStatus
);

Property value

The status that indicates whether the data collector set is running. For possible values, see the DataCollectorSetStatus enumeration.

Error codes

The property returns S_OK if successful. The following table shows possible error values.

NameMeaning
E_INVALIDARG

A new data collector set has not been committed or queried.

HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND)

The data collector set is not found. This can happen if you delete the data collector set and then try to retrieve the status of the set.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Pla.h

DLL

Pla.dll

See also

IDataCollectorSet

 

 

Community Additions

ADD
Show:
© 2014 Microsoft