Provides a set of GUID-string constants that are used by the ApplyStateID property of a VersioningSecurityTemplate object to indicate the version state to which a given security template applies.


The following tables list the members exposed by VersionStatusId.

Public Fields

  Name Description
Public field Static IN_PROCESS Indicates an in-process document version. An in-process version is a version that has been checked in and is the latest minor version. Note that only one version at a time in a given version series can be in the IN_PROCESS state. When a reservation version is checked in as a minor version and becomes the new in-process version, the previous in-process version becomes a superseded version. Constant value = "{e76e4f72-545c-4180-97c1-8449883b83cf}". This field is read-only.
Public field Static RELEASED Indicates a released document version. A released version is a version that has been checked in and is the latest major version. Note that only one version at a time in a given version series can be in the RELEASED state. Constant value = "{95ad7aed-dfa0-4459-ae95-2ca2fc041602}". This field is read-only.
Public field Static RESERVATION Indicates a reservation document version. A reservation version is a version that has been checked out. Constant value = "{f9ed916d-ccb7-4d7e-8cc1-563f1692c67c}". This field is read-only.
Public field Static SUPERSEDED Indicates a superseded document version. A superseded version is a major or minor version that has been replaced by a later version. Constant value = "{a0a5a26e-d19f-4415-8451-6795386ad1bb}". This field is read-only.
Top

Public Methods

  Name Description
Public method CompareTo Compares two IDs. This method returns -1 if this is less than arg, 1 if this is greater than arg, and 0 if the IDs are equal.

This comparison is consistent with how IDs are compared in the DB2 and Oracle databases, but does not match how MSSQL Server compares IDs. For MSSQL Server databases, use CompareTo(arg, dbType).

(inherited from Id)
Public method Equals Overloaded. Compares two IDs for logical equality. (inherited from Id)
Public method Static FromVersionStatus Returns an instance of this class corresponding to the int constant of a given VersionStatus *_AS_INT field.
Public method GetBytes Returns a copy of this ID as an array of bytes. (inherited from Id)
Public method GetHashCode Returns the hashcode for this ID. (inherited from Id)
Public method Static GetInstanceFromString Returns an enumeration instance of this class corresponding to a given String value.
Public method GetObjectData This method is exposed to satisfy the ISerializable interface. (inherited from Id)
Public method GetType Gets the Type of the current instance. (inherited from Object)
Public method ToString Returns the String representation of this ID. (inherited from Id)
Public method Static ToVersionStatus Returns an enumeration instance of the VersionStatus class corresponding to a given VersionStatusId enumeration instance.
Top

Protected Methods

  Name Description
Family method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Family method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object)
Top

See Also