SearchRequest.SizeLimit Property

 
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.

The SizeLimit property contains the maximum number of objects returned in the search request.

Namespace:   System.DirectoryServices.Protocols
Assembly:  System.DirectoryServices.Protocols (in System.DirectoryServices.Protocols.dll)

public int SizeLimit { get; set; }

Property Value

Type: System.Int32

The maximum number of objects returned in the search request.

Exception Condition
ArgumentException

The value is less than zero.

.NET Framework
Available since 2.0
Return to top
Show: