Show / Hide Table of Contents

Property LockVersion

LockVersion

Gets a value indicating whether the version specified in the Connection cannot be changed to another version of the geodatabase.

Declaration
public bool LockVersion { get; }
Property Value
Type Description
System.Boolean

true if the Connection is locked to this geodatabase version; otherwise, false.

Remarks

Default value is true. This property controls whether the initial version specified in the connection string or ArcSDE file when this workspace was created can be changed to another version using GeodatabaseVersion or GeodatabaseVersion.

Applies to

Platforms and versions
TargetVersions
.NET Windows100.13 - 200.8
.NET Framework100.1 - 200.8
In This Article
Back to top Copyright © 2022 Esri.