This document is archived and information here might be outdated.  Recommended version.


IVersion.Access Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

IVersion.Access Property

The version's access permission.

[Visual Basic .NET]
Public Property Access As esriVersionAccess
[C#]
public esriVersionAccess Access {get; set;}
[C++]
HRESULT get_Access(
  esriVersionAccess* Access
);
[C++]
HRESULT put_Access(
  esriVersionAccess Access
);
[C++]

Parameters Access [out, retval]
Access is a parameter of type esriVersionAccess Access [in]
Access is a parameter of type esriVersionAccess

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Errors Returned

FDO_E_SE_NO_PERMISSIONS: Insufficient permissions.

Functional License Check

If your application/site is not appropriately licensed, Access can return an error of FDO_E_NO_OPERATION_LICENSE.

Remarks

The Access property is used to retrieve or set a version's access property. Version access can be private, public or protected. Private versions are only accessible by the version's owner, public versions can be viewed and edited by any user, and protected versions can be viewed by any user but only edited by the owner. Only the owner of a version can change its properties, such as the access.

See Also

IVersion Interface

.NET Related Topics

Geodatabase | GeoDatabaseUI