Export (0) Print
Expand All

DfsrInfo class

The DFSR monitoring provider class. This singleton class has provider-specific settings in addition to computer-wide service properties and methods.

Syntax

class DfsrInfo
{
  string   ProviderVersion;
  datetime ServiceStartTime;
  datetime LastDsPollTime;
  uint8    State;
  uint32   LastErrorCode;
  uint32   LastErrorMessageId;
};

Members

The DfsrInfo class has these types of members:

Properties

The DfsrInfo class has these properties.

LastDsPollTime
Data type: datetime
Access type: Read-only

The last time there was an attempt to poll the Active Directory Domain Services; it does not matter whether the attempt succeeded.

LastErrorCode
Data type: uint32
Access type: Read-only
Qualifiers: Values (Success) , ValueMap (0)

The last error code.

ValueMeaning
DFSR_E_DS_POLLING_FAILED

Could not connect to the Active Directory.

 

LastErrorMessageId
Data type: uint32
Access type: Read-only
Qualifiers: Values (Success) , ValueMap (0)

Event log message identifier that corresponds to the last error code.

ProviderVersion
Data type: string
Access type: Read-only

The current version of the provider.

ServiceStartTime
Data type: datetime
Access type: Read-only

The time stamp of the last service start.

State
Data type: uint8
Access type: Read-only
Qualifiers: Values (Service Starting, Service Running, Service Degraded, Service Shutting Down) , ValueMap (0, 1, 2, 3)

The current state of the DFSR service.

Remarks

The following state diagram illustrates the transitions between the service states.

DFSR service state diagram

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003 R2

End of client support

Windows 7

Namespace

\\.\Root\MicrosoftDfs

MOF

DfsRProvs.mof

See also

DFSR WMI Classes

 

 

Show:
© 2014 Microsoft