ActiveDirectorySchema.FindAllProperties Method (PropertyTypes)
.NET Framework 4.5
Retrieves all of the Active Directory Domain Services properties in the schema of the specified type.
Namespace: System.DirectoryServices.ActiveDirectory
Assembly: System.DirectoryServices (in System.DirectoryServices.dll)
public ReadOnlyActiveDirectorySchemaPropertyCollection FindAllProperties(
PropertyTypes type
)
Parameters
- type
- Type: System.DirectoryServices.ActiveDirectory.PropertyTypes
One of the PropertyTypes members that identifies which type of properties to retrieve.
Return Value
Type: System.DirectoryServices.ActiveDirectory.ReadOnlyActiveDirectorySchemaPropertyCollectionA ReadOnlyActiveDirectorySchemaPropertyCollection object that contains a collection of ActiveDirectorySchemaProperty objects for the properties that were retrieved.
| Exception | Condition |
|---|---|
| ObjectDisposedException | The current object has been disposed. |
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.