Flags Property

This property specifies project settings that determine how the replication proceeds .

Syntax

ReplicationProject.Flags[=Value]

Parameters

Value

A bitmask specifying the settings for the project.

Remarks

You must have Site Server Publishing administrator privileges on the server to get or set this property.

See the Flags appendix for a description of the flags.

Example

The following example replicates all files in Project1, regardless of whether they've been changed.

Option Explicit 
On Error Resume Next 

const OPEN_EXISTING_PROJECT  = 2
const RF_FORCE_REPL    = 8

dim ReplServer
set ReplServer = CreateObject("CrsApi.ReplicationServer")
ReplServer.Initialize("")

dim ReplProject
set ReplProject = ReplServer.OpenProject("Project1", OPEN_EXISTING_PROJECT)
ReplProject.Flags = RF_FORCE_REPL
ReplProject.Start

See Also

Get


© 1997-1998 Microsoft Corporation. All rights reserved.