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


HRESULT put_BatchItems(
  [in]          long value
);

HRESULT get_BatchItems(
  [out, retval] long *value
);

Property value

Type: long

The number of items in each enumeration batch.

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 IWSManEnumerator.

Requirements

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

IWSManSession
Session.BatchItems

 

 

Show: