Skip to content

Latest commit

 

History

History
80 lines (48 loc) · 2.03 KB

session-batchitems.md

File metadata and controls

80 lines (48 loc) · 2.03 KB
title description ms.assetid ms.tgt_platform keywords topic_type api_name api_location api_type ms.topic ms.date
Session.BatchItems property (WSManDisp.h)
Sets and gets the number of items in each enumeration batch.
1675ba12-a0c7-4e59-a013-2109780e8afe
multiple
BatchItems property Windows Remote Management
BatchItems property Windows Remote Management , Session object
Session object Windows Remote Management , BatchItems property
apiref
Session.BatchItems
WSMAuto.dll
COM
reference
05/31/2018

Session.BatchItems property

Sets and gets the number of items in each enumeration batch. This value cannot be changed during an enumeration. The resource provider may set a limit.

This property is read/write.

Syntax

Session.BatchItems As long

Property value

Specifies the maximum number of elements returned for each underlying network call to the service. The default is 20.

Remarks

This is an optimization feature that controls how often network calls are made between the client and the server. Currently, it is used only for enumerations. For more information about enumerating resources, see Enumerate.

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
WSManDisp.h
IDL
WSManDisp.idl
Library
WSManDisp.tlb
DLL
WSMAuto.dll

See also

Session

Enumerate

Enumerator.ReadItem