GPReplica

A class representing a replica in a geodatabase.

Property

Type

Description

AccessType

esriReplicaAccessType

Defines the replica type for 2 way or 1 way replicas.

CreationDate

string

The date the replica was created.

GPReplicaDescription

GPReplicaDescription

Describes the data and the schema in the replica.

GUID

string

A GUID the uniquely identifies the replica.

HasConflicts

bool

Returns True if the replica is currently in a conflict state.

HasConflictsSpecified

bool

Indicates if HasConflicts is specified.

ID

int

An integer ID that identifies the replica.

MyGenerationNumber

int

Returns the current generation number of a replica.

Name

string

The name of the replica.

ReconcilePolicy

esriReplicaReconcilePolicyType

This property will always return "esriReplicaReconcilePolicyNone" as reconcile policies are not stored with the replica.

ReplicaState

esriReplicaState

Indicates whether the replica is in a state to send or receive changes.

ReplicaVersion

string

The version the replica was created from.

Role

esriReplicaRole

Indicates if the replica is has a role of parent or if it has a role of child.

SibConnectionString

string

Returns the connection string to the relative replica database if it has been set.

SibGenerationNumber

int

Returns the generation number of the relative replica as it is known to the replica.

The generation number returned is based on the replicas last received message from its relative.

SibMyGenerationNumber

int

Returns the generation number that the relative thinks is the replicas generation number.

The generation number returned is based on the replicas last received acknowledgement message from its relative.

UseArchiving

bool

Returns True if archiving has been set as the method to use to track changes for a 1 way replica.

11/8/2016