ESRI.ArcGIS.ADF.ArcGISServer.Editor
SetVersion Method
See Also 
ESRI.ArcGIS.ADF.ArcGISServer.Editor Namespace > Editor Class : SetVersion Method




versionID
The name of the version to edit.
Changes the version of the layers being edited. The editor must not be in an edit session when this is called.

Syntax

Visual Basic (Declaration) 
Public Function SetVersion( _
   ByVal versionID As String _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As Editor
Dim versionID As String
Dim value As Boolean
 
value = instance.SetVersion(versionID)
C# 
public bool SetVersion( 
   string versionID
)

Parameters

versionID
The name of the version to edit.

Return Value

true if the service version changed from its previous version, false otherwise. This is useful for determining if the map needs to be refreshed after setting the version.

See Also

© 2010 All Rights Reserved.