Partager via


MSFT_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

[ClassVersion("1.0.0"), dynamic, provider("DfsrWMIV2"), AMENDMENT]
class MSFT_DfsrConflictInfo
{
  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 MSFT_DfsrConflictInfo class has these types of members:

Methods

The MSFT_DfsrConflictInfo class has these methods.

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

Properties

The MSFT_DfsrConflictInfo class has these properties.

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)

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.

MemberGuid

Data type: string

Access type: Read-only

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

The unique identifier of the replication member.

PartnerGuid

Data type: string

Access type: Read-only

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

The unique identifier of the partner object in this connection.

ReplicatedFolderGuid

Data type: string

Access type: Read-only

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

The unique identifier of the replicated folder.

ReplicationGroupGuid

Data type: string

Access type: Read-only

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

The unique identifier of the replication group.

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
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