Gets information on the versions in the geodatabase.
GetVersions()
Return Value
An array of GPVersionInfo objects.
Remarks
This method will execute successfully when using a versioned ArcSDE geodatabase. If working with a non-ArcSDE geodatabase (e.g. file geodatabase, personal geodatabase) a call to this method will return an exception.
Examples