Replication.getScopes (Method)

Returns zero or more structures contain information describing replication scopes; for example, 'ClearCache', 'FileSystemFiles'. 'ReindexSearchCollections', and so on.

Returns:

Replication_GetScopes_Result (query)

Each row of the returned query results has the following fields:

Field Name Type Description
ClearCache Boolean Boolean flag which when true indicates that CommonSpot clears the cache on the target while replicating.
Description PlainText_2000 The replication scope's description.
ExcludedSubsiteIDList SubsiteIDList_EmptyString The subsites that CommonSpot excludes when replicating. If this is an empty string, no subsites are excluded.
FileSystemFiles Any Boolean flag which when true indicates that CommonSpot replicates file system files.
ID ReplicationScopeID The replication scope ID.
OptimizeCollections Boolean Boolean flag which when true indicates that CommonSpot optimizes search collections while replicating on the target.
PageData Any Boolean flag which when true indicates that CommonSpot replicates the data.
RebuildStubFiles Boolean Boolean flag which when true indicates that CommonSpot rebuilds the stub files while replicating on the target.
ReindexSearchCollections Boolean Boolean flag which when true indicates that CommonSpot reindexes search collections while replicating on the target.
ReplicationDuration ReplicationDuration String indicating the duration the content to replicate, as follows: 'replicate all content' and 'replicate content since last replication'.
ScopeName PlainText_NonNull_50 The replication scope's name.
SuppressIncrementalIndexing Boolean Boolean flag which when true indicates that CommonSpot suppresses incremental indexing.
ValidateStaticSiteAuxiliaryFiles Boolean Boolean flag which when true indicates that CommonSpot validates static site auxiliary files.

Arguments:

Name Type Required Description
id ReplicationScopeID_NEG1 Optional. Defaults to '-1'. A replication scope's ID. If this value is set to -1, CommonSpot returns information for all scopes.

Context:

License Requirements Replication
Permission Requirements site:ManageReplication
Deny Context None
Require Context None
Author Lock (not required)
Transaction Logging Transaction logging is disabled for this method
Customization This method may be customized at the site level

Error Codes:

None

Notes:

None