Set the synchronizer to be enabled or disabled.
[Visual Basic .NET] Public Sub SetEnabled ( _ ByVal Index As Integer, _ ByVal Enabled As Boolean _ )
[C#] public void SetEnabled ( int Index, bool Enabled );
[C++]
HRESULT SetEnabled(
long Index,
VARIANT_BOOL Enabled
);
[C++]Parameters
Index [in] Index is a parameter of type long Enabled [in] Enabled is a parameter of type VARIANT_BOOL
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
The SetEnabled method sets the enabled/disabled state of the synchronizer referenced by the index passed in to the first argument.
Remarks
The Index parameter is used to indicate the specific metadata synchronizer.
The second argument, of data type boolean, sets the state of the synchronizer.
Note that enabling and disabling synchronizers through this interface is persisted across sessions. If changes are meant to be temporary, it's recommended that the current enabled status of each synchronizer be stored prior to any changes being made, then restored after.