DocumentManagerGetDocumentVersionId(Int32, Int32) Method

Return a document version ID according to the given document ID and document version. This method is obsolete; GetDocumentVersionIdV2() or GetLatestDocumentVersionId() should be used instead.

Definition

Namespace: FileHold.LibraryManager
Assembly: FileHold.LibraryManager (in FileHold.LibraryManager.dll) Version: 17.2.0.0
C#
[WebMethodAttribute(Description = "Return the version id of document.")]
public int GetDocumentVersionId(
	int documentId,
	int documentVersion
)

Parameters

documentId  Int32
documentVersion  Int32
Set to a valid document version number or 0 to return the document version ID for the latest document version for this document ID. Note that if the managed option Library.InitialOfflineVersion is set to 0, you will not able to return that document version ID using this method.

Return Value

Int32

See Also