Click or drag to resize

Replication Properties

The Replication type exposes the following members.

Properties
  NameDescription
Public propertyActiveTaskInfo
Gets the active task info for thie replication
Public propertyAuthenticator
Gets or sets the authenticator.
Public propertyChangesCount
If the Replication is active, gets the number of changes to be processed, otherwise 0.
Public propertyChannels
Gets or sets the list of Sync Gateway channel names to filter by for pull Replication.
Public propertyCompletedChangesCount
If the Replication is active, gets the number of completed changes that have been processed, otherwise 0.
Public propertyContinuous
Gets or sets whether the Replication operates continuously, replicating changes as the source Database is modified.
Public propertyCreateTarget
Gets or sets whether the target Database should be created if it doesn't already exist. This only has an effect if the target supports it.
Public propertyDocIds
Gets or sets the ids of the Documents to replicate.
Public propertyFilter
Gets or sets the name of an optional filter function to run on the source Database. Only documents for which the function returns true are replicated.
Public propertyFilterParams
Gets or sets the parameters to pass to the filter function.
Public propertyHeaders
Gets or sets the extra HTTP headers to send in Replication requests to the remote Database.
Public propertyIsPull
Gets whether the Replication pulls from, as opposed to pushes to, the target.
Public propertyIsRunning
Gets whether the Replication is running. Continuous Replications never actually stop, instead they go idle waiting for new data to appear.
Public propertyLastError
Gets the last error, if any, that occurred since the Replication was started.
Public propertyLocalDatabase
Gets the local Database being replicated to/from.
Public propertyOptions Obsolete.
Gets or sets custom options on this replication
Public propertyRemoteUrl
Gets the remote URL being replicated to/from.
Public propertyReplicationOptions
Gets or sets the replication options.
Public propertyStatus
Gets the Replication's current status.
Public propertyTransformationFunction
Gets or sets the transformation function used on the properties of the documents being replicated
Public propertyUsername
If applicable, will store the username of the logged in user once they are authenticated
Top
See Also