DfsrConflictInfo class

This class provides details about the files and folders that were moved to the Conflict and Deleted folder due to conflicting updates.

Syntax

[Dynamic, Provider("DfsrMonitorProv")]
class DfsrConflictInfo : CIM_LogicalElement
{
  string       Caption;
  string       Description;
  datetime REF InstallDate;
  string       Name;
  string       Status;
  string       GVsn;
  string       Uid;
  string       FileName;
  uint32       FileAttributes;
  uint32       ConflictFileCount;
  uint64       ConflictSizeInBytes;
  datetime     ConflictTime;
  string       ConflictPath;
  uint8        ConflictType;
  string       ReplicatedFolderGuid;
  string       ReplicationGroupGuid;
  string       MemberGuid;
  string       PartnerGuid;
};

Members

The DfsrConflictInfo class has these types of members:

Methods

The DfsrConflictInfo class has these methods.

Method Description
Delete Deletes this conflict from the conflict directory along with its record in the manifest.

Properties

The DfsrConflictInfo class has these properties.

Caption

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64)

A short textual description of the object. This property is inherited from CIM_ManagedSystemElement.

ConflictFileCount

Data type: uint32

Access type: Read-only

Qualifiers: DisplayName ("Conflict File Count")

If the conflict is a folder, this value is the total number of files and folders under the conflicted parent folder.

ConflictPath

Data type: string

Access type: Read-only

Qualifiers: DisplayName ("Conflict Path")

The original location of the conflicted file or folder.

ConflictSizeInBytes

Data type: uint64

Access type: Read-only

Qualifiers: DisplayName ("Conflict Size in Bytes")

The size of the file or folder, in bytes.

ConflictTime

Data type: datetime

Access type: Read-only

Qualifiers: DisplayName ("Conflict Time")

The time stamp when the conflict was detected.

ConflictType

Data type: uint8

Access type: Read-only

Qualifiers: DisplayName ("Conflict Type")

The type of conflict.

Name Conflict (1)

Remote Update Local Update Conflict (2)

Remote Update Local Delete Conflict (3)

Local Delete Remote Update Conflict (4)

Remote File Delete (5)

Remote File Does Not Exist At Initial Sync (6)

Description

Data type: string

Access type: Read-only

A textual description of the object. This property is inherited from CIM_ManagedSystemElement.

FileAttributes

Data type: uint32

Access type: Read-only

Qualifiers: DisplayName ("File Attributes")

The attributes of the file or folder. For a list of values, see the GetFileAttributes function.

FileName

Data type: string

Access type: Read-only

Qualifiers: DisplayName ("File Name")

The name of the file or folder after it is moved to the Conflict and Deleted folder.

GVsn

Data type: string

Access type: Read-only

Qualifiers: Key, DisplayName ("Global Version")

The global version of the conflicted file or folder.

InstallDate

Data type: datetime

Access type: Read-only

Indicates when the object was installed. Lack of a value does not indicate that the object is not installed. This property is inherited from CIM_ManagedSystemElement.

MemberGuid

Data type: string

Access type: Read-only

Qualifiers: DisplayName ("Member GUID"), MaxLen (36), MinLen (36)

The unique identifier of the member.

Name

Data type: string

Access type: Read-only

Label by which the object is known. When subclassed, this property can be overridden to be a key property. This property is inherited from CIM_ManagedSystemElement.

PartnerGuid

Data type: string

Access type: Read-only

Qualifiers: DisplayName ("Partner GUID"), MaxLen (36), MinLen (36)

The unique identifier of the partner object in this connection.

ReplicatedFolderGuid

Data type: string

Access type: Read-only

Qualifiers: DisplayName ("Replicated Folder GUID"), MaxLen (36), MinLen (36)

The unique identifier of the replicated folder.

ReplicationGroupGuid

Data type: string

Access type: Read-only

Qualifiers: DisplayName ("Replication Group GUID"), MaxLen (36), MinLen (36)

The unique identifier of the replication group.

Status

Data type: string

Access type: Read-only

String that indicates the current status of the object. Operational and non-operational status can be defined. Operational status can include "OK", "Degraded", and "Pred Fail". "Pred Fail" indicates that an element is functioning properly, but is predicting a failure (for example, a SMART-enabled hard disk drive).

Non-operational status can include "Error", "Starting", "Stopping", and "Service". "Service" can apply during disk mirror-resilvering, reloading a user permissions list, or other administrative work. Not all such work is online, but the managed element is neither "OK" nor in one of the other states. This property is inherited from CIM_ManagedSystemElement.

Values include the following:

OK ("OK")

Error ("Error")

Degraded ("Degraded")

Unknown ("Unknown")

Pred Fail ("Pred Fail")

Starting ("Starting")

Stopping ("Stopping")

Service ("Service")

Stressed ("Stressed")

NonRecover ("NonRecover")

No Contact ("No Contact")

Lost Comm ("Lost Comm")

Uid

Data type: string

Access type: Read-only

Qualifiers: DisplayName ("Conflicted File or Folder GUID-Version Pair")

The unique identifier and version of the conflicted file or folder.

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
End of client support
Windows Vista
Namespace
Root\MicrosoftDfs
MOF
DfsRProvs.mof
DLL
DfsRWmiV2.dll

See also

CIM_LogicalElement

DFSR WMI Classes