VaultObjectOperationsExtensionMethodsGetObjectVersionAndPropertiesOfMultipleObjectsInBatches Method

Resolves the ObjectVersionAndPropertiesOfMultipleObjects in batches.

Definition

Namespace: MFiles.VAF.Common
Assembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
C#
public static ObjectVersionAndPropertiesOfMultipleObjects GetObjectVersionAndPropertiesOfMultipleObjectsInBatches(
	this VaultObjectOperations ops,
	ObjVers objVers,
	bool latestVersion,
	bool allowCheckedOut,
	bool allowMissing,
	bool updateFromServer = false,
	int maxBatchSize = 500
)

Parameters

ops  VaultObjectOperations
This.
objVers  ObjVers
The object version identifiers of the object versions for which the information is requested.
latestVersion  Boolean
True to return the latest available versions of the objects. If 'AllowCheckedOut' is false, the latest checked in version is returned.
allowCheckedOut  Boolean
If true, a checked out object version can be returned. If false, only checked in version are allowed.
allowMissing  Boolean
True if the method is allowed to return less results than what is requested. This can happen if all object versions could not be found or if the user does not have access to them. If false, the method raises an error if all object versions were not found.
updateFromServer  Boolean  (Optional)
True if the information should always be updated from the server. If false, the client local cache may be used. This flag is relevant only when M-Files API is used in client mode.
maxBatchSize  Int32  (Optional)
Batch size limit per GetObjectVersionAndPropertiesOfMultipleObjects () call.

Return Value

ObjectVersionAndPropertiesOfMultipleObjects
ObjectVersionAndPropertiesOfMultipleObjects

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type VaultObjectOperations. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also