Compartir a través de


MSFT_DfsrServiceInfo class

This class is a DFS Replication monitoring provider class. This is a singleton class that has provider-specific settings in addition to computer-wide service configuration parameters and methods.

Syntax

[ClassVersion("1.0.0"), dynamic, provider("DfsrWMIV2"), AMENDMENT]
class MSFT_DfsrServiceInfo
{
  string   Identifier;
  string   ProviderVersion;
  datetime ServiceStartTime;
  datetime LastDsPollTime;
  uint8    State;
  uint32   LastErrorCode;
  uint32   LastErrorMessageId;
};

Members

The MSFT_DfsrServiceInfo class has these types of members:

Properties

The MSFT_DfsrServiceInfo class has these properties.

Identifier

Data type: string

Access type: Read-only

Qualifiers: key, DisplayName ("Identifier for DFSR service info class")

The identifier for the MSFT_DfsrServiceInfo class.

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.

(0)

LastErrorMessageId

Data type: uint32

Access type: Read-only

Qualifiers: DisplayName ("Last Error Message ID")

The event log message ID that corresponds to the last error code.

(0)

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 service state.

Service Starting (0)

Service Running (1)

Service Degraded (2)

Service Shutting Down (3)

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012 R2
Namespace
Root\Microsoft\Windows\Dfsr
MOF
Dfsrwmiv2.mof
DLL
DfsRWmiV2.dll

See also

DFSR WMI Classes