SearchRequest.Attributes Property


The Attributes property contains the attributes of the requested object.

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

public StringCollection Attributes { get; }

Property Value

Type: System.Collections.Specialized.StringCollection

The attributes of the requested object. Set this property to null to retrieve all attributes.

Exception Condition

One of the strings in StringCollection object is a null reference (Nothing in Visual Basic).

.NET Framework
Available since 2.0
Return to top