Instrumentation.SetBatchSize Method (Type, Int32)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Specifies the maximum number of objects of the specified type to be provided at a time.

Namespace:   System.Management.Instrumentation
Assembly:  System.Management (in System.Management.dll)

public static void SetBatchSize(
	Type instrumentationClass,
	int batchSize


Type: System.Type

The class for which the batch size is being set.

Type: System.Int32

The maximum number of objects to be provided at a time.

Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.

.NET Framework
Available since 1.1
Return to top