Click or drag to resize

VaultObjectOperationsExtensionMethodsGetObjectVersionAndPropertiesOfMultipleObjectsInBatches Method

Resolves the ObjectVersionAndPropertiesOfMultipleObjects in batches.

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


Type: VaultObjectOperations
Type: ObjVers
The object version identifiers of the object versions for which the information is requested.
Type: SystemBoolean
True to return the latest available versions of the objects. If 'AllowCheckedOut' is false, the latest checked in version is returned.
Type: SystemBoolean
If true, a checked out object version can be returned. If false, only checked in version are allowed.
Type: SystemBoolean
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 (Optional)
Type: SystemBoolean
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 (Optional)
Type: SystemInt32
Batch size limit per GetObjectVersionAndPropertiesOfMultipleObjects () call.

Return Value

Type: 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