Instrumentation.SetBatchSize Method (Type, Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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
)

Parameters

instrumentationClass
Type: System.Type

The class for which the batch size is being set.

batchSize
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
Show: