Export (0) Print
Expand All

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

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Redistributable

WinRM 1.1 (Windows Server 2003 R2, or Windows Server 2003 with SP1)

Header

Wsmandisp.h

IDL

Wsmandisp.idl

Library

WSManAutomation.lib

DLL

Wsmauto.dll

See also

Session
Enumerate
Enumerator.ReadItem

 

 

Show:
© 2014 Microsoft