Export (0) Print
Expand All

DfsrSyncInfo class

This class provides statistical and operational information for active synchronization sessions between the local replication group member and one of its partners.

Syntax

class DfsrSyncInfo : CIM_LogicalElement
{
  string   SyncGuid;
  string   ConnectionGuid;
  string   MemberGuid;
  string   MemberName;
  string   PartnerGuid;
  string   PartnerName;
  string   ReplicationGroupGuid;
  string   ReplicationGroupName;
  boolean  Inbound;
  uint32   State;
  uint32   InitiationReason;
  datetime StartTime;
  datetime EndTime;
  uint32   UpdatesTransferred;
  uint64   BytesTransferred;
  uint32   UpdatesNotTransferred;
  uint32   UpdatesToBeTransferred;
  uint32   ConflictsGenerated;
  uint32   TombstonesGenerated;
  uint32   LastErrorCode;
  uint32   LastErrorMessageId;
  datetime ForceReplicationEndTime;
  uint32   ForceReplicationBandwidthlevel;
};

Members

The DfsrSyncInfo class has these types of members:

Properties

The DfsrSyncInfo class has these properties.

BytesTransferred
Data type: uint64
Access type: Read-only

The total number of bytes that have been transferred since the synchronization session was started.

ConflictsGenerated
Data type: uint32
Access type: Read-only

The total number of conflicts encountered while processing updates for this session.

This property is valid only for inbound connections.

ConnectionGuid
Data type: string
Access type: Read-only
Qualifiers: MinLen (36) , MaxLen (36)

The unique connection identifier.

EndTime
Data type: datetime
Access type: Read-only

The time stamp for the end of the synchronization session. If the session is still in progress, this value of this property is January 1, 1601.

ForceReplicationBandwidthlevel
Data type: uint32
Access type: Read-only

The bandwidth level of the current ForceReplication operation.

ForceReplicationEndTime
Data type: datetime
Access type: Read-only

The time stamp for the end of the current ForceReplication operation.

Inbound
Data type: boolean
Access type: Read-only

Indicates the direction of the flow of updates between the synchronization partner and the synchronization member; it can be inbound (coming from the partner) or outbound (going to the partner).

InitiationReason
Data type: uint32
Access type: Read-only
Qualifiers: Values (Schedule, Forced, Paused, ForcedUntilSync) , ValueMap (0,1,2,3)

The reason why the synchronization session was started. The following values are supported.

ValueMeaning
Schedule

Synchronization started according to the schedule.

Forced

Synchronization started as a response to a call to the ForceReplication method.

Paused

Pause synchronization as a response to a call to ForceReplication.

ForcedUntilSync

Synchronization started as a response to a call to ForceReplication with a value of Sync Until-In-Sync.

 

This property is valid only for inbound connections.

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

The last error code.

ValueMeaning
DFSR_E_CANNOT_CONNECT

Could not connect to the partner.

This value is returned only for inbound connections.

 

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

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

MemberGuid
Data type: string
Access type: Read-only
Qualifiers: MinLen (36) , MaxLen (36)

The local replication group member identifier.

MemberName
Data type: string
Access type: Read-only

The member name. This is typically the unqualified DNS name of the local computer.

PartnerGuid
Data type: string
Access type: Read-only
Qualifiers: MinLen (36) , MaxLen (36)

The unique identifier of the partner object.

PartnerName
Data type: string
Access type: Read-only

The partner name. This is typically the unqualified DNS name of the partner computer.

ReplicationGroupGuid
Data type: string
Access type: Read-only
Qualifiers: MinLen (36) , MaxLen (36)

The unique replication group identifier.

ReplicationGroupName
Data type: string
Access type: Read-only

The name of the replication group that owns the connection.

StartTime
Data type: datetime
Access type: Read-only

The time stamp for the start of the synchronization session.

State
Data type: uint32
Access type: Read-only
Qualifiers: Values (Initialized, Connecting, In Progress, Completed, In Sync, Interrupted, In Error) , ValueMap (0, 1, 2, 3, 4, 5, 6)

The state of the current synchronization session.

SyncGuid
Data type: string
Access type: Read-only
Qualifiers: Key, MinLen (36) , MaxLen (36)

The unique synchronization identifier for this operation.

TombstonesGenerated
Data type: uint32
Access type: Read-only

The total number of tombstones encountered while processing updates for this session.

This property is valid only for inbound connections.

UpdatesNotTransferred
Data type: uint32
Access type: Read-only

Total number of updates in the queue for transfer in this synchronization session.

UpdatesToBeTransferred
Data type: uint32
Access type: Read-only

The total number of updates that need to be synchronized with the partner.

This property is valid only for inbound connections.

UpdatesTransferred
Data type: uint32
Access type: Read-only

The total number of updates that have been transferred since the synchronization session was started.

Remarks

A synchronization operation may involve more than one session to avoid being blocked on an update that has not been transferred yet.

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

DFSR synchronization state diagram

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003 R2

End of client support

Windows Vista

Namespace

\\.\Root\MicrosoftDfs

MOF

DfsRProvs.mof

See also

DFSR WMI Classes

 

 

Show:
© 2014 Microsoft