DfsrInfo class
The DFSR monitoring provider class. This singleton class has provider-specific settings in addition to computer-wide service properties and methods.
Syntax
[Dynamic, Provider("DfsrMonitorProv"), Singleton]
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
- Qualifiers: DisplayName ("Last Active Directory Domain Services Poll Time")
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: DisplayName ("Last Error Code")
The last error code.
- LastErrorMessageId
-
- Data type: uint32
- Access type: Read-only
- Qualifiers: DisplayName ("Last Error Message ID")
Event log message identifier that corresponds to the last error code.
- ProviderVersion
-
- Data type: string
- Access type: Read-only
- Qualifiers: DisplayName ("DFS Replication Monitoring Provider Version")
The current version of the provider.
- ServiceStartTime
-
- Data type: datetime
- Access type: Read-only
- Qualifiers: DisplayName ("Service Start Time")
The time stamp of the last service start.
- State
-
- Data type: uint8
- Access type: Read-only
- Qualifiers: DisplayName ("State")
The current state of the DFSR service.
Remarks
The following state diagram illustrates the transitions between the service states.

Requirements
|
Minimum supported client |
Windows Vista |
|---|---|
|
Minimum supported server |
Windows Server 2008 |
|
End of client support |
Windows 7 |
|
Namespace |
Root\MicrosoftDfs |
|
MOF |
|
|
DLL |
|
See also