ESRI.ArcGIS.ADF.ArcGISServer.Editor
SetVersion Method
See Also  Send Feedback
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.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.