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


IHistoricalWorkspace.AddHistoricalMarker Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

IHistoricalWorkspace.AddHistoricalMarker Method

Add a historical marker to this workspace.

[Visual Basic .NET]
Public Function AddHistoricalMarker ( _
    ByVal Name As String, _
    ByVal tstamp As Object _
) As IHistoricalMarker
[C#]
public IHistoricalMarker AddHistoricalMarker (
    string Name,
    object tstamp
);
[C++]
HRESULT AddHistoricalMarker(
  BSTR Name,
  VARIANT tstamp,
  IHistoricalMarker** marker
);
[C++]

Parameters Name [in] Name is a parameter of type BSTR tstamp [in] tstamp is a parameter of type VARIANT marker [out, retval]
marker is a parameter of type IHistoricalMarker

Product Availability

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

Remarks

The AddHistoricalMarker method is used to add a historical marker to the workspace. Historical markers are used to represent specific moments in the database which reference a date and time. They can then be used as a mechanism to easily recognize specific database's moment or events.

For example, an organization might create historical markers to reflect quarters of a fiscal year. This will then allow users the ability to quickly change their historical versions to each moment using a historical marker.

Historical markers are case sensitive. All users have privileges to create historical markers. Historical marker names are limited to sixty-four characters. Adding a historical marker modifies the geodatabase's system tables and explicitly performs a database commit, and should therefore not be done during an edit session.

See Also

IHistoricalWorkspace Interface