TypesOnly Property

SearchRequest.TypesOnly Property


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
© 2015 Microsoft