This documentation is archived and is not being maintained.
ActiveDirectorySchema.FindAllProperties Method (PropertyTypes)
Visual Studio 2008
Retrieves all of the Active Directory Domain Services properties in the schema of the specified type.
Assembly: System.DirectoryServices (in System.DirectoryServices.dll)
'Declaration Public Function FindAllProperties ( _ type As PropertyTypes _ ) As ReadOnlyActiveDirectorySchemaPropertyCollection 'Usage Dim instance As ActiveDirectorySchema Dim type As PropertyTypes Dim returnValue As ReadOnlyActiveDirectorySchemaPropertyCollection returnValue = instance.FindAllProperties(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 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: