SearchRequest.TypesOnly Property


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

The TypesOnly property specifies whether the search returns only the attribute names and not the attribute values.

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

public bool TypesOnly { get; set; }

Property Value

Type: System.Boolean

If this property is true, the search returns only the attribute names. If this property is false, the search returns both the attribute names and values.

.NET Framework
Available since 2.0
Return to top