Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
FindAllProperties Method (PropertyTypes)
Collapse the table of content
Expand the table of content

ActiveDirectorySchema.FindAllProperties Method (PropertyTypes)

Retrieves all of the Active Directory properties in the schema of the specified type.

Namespace: System.DirectoryServices.ActiveDirectory
Assembly: System.DirectoryServices (in system.directoryservices.dll)

public ReadOnlyActiveDirectorySchemaPropertyCollection FindAllProperties (
	PropertyTypes type
)
public ReadOnlyActiveDirectorySchemaPropertyCollection FindAllProperties (
	PropertyTypes type
)
public function FindAllProperties (
	type : PropertyTypes
) : ReadOnlyActiveDirectorySchemaPropertyCollection
Not applicable.

Parameters

type

One of the PropertyTypes members that identifies which type of properties to retrieve.

Return Value

A ReadOnlyActiveDirectorySchemaPropertyCollection object that contains a collection of ActiveDirectorySchemaProperty objects for the properties that were retrieved.

Exception typeCondition

ObjectDisposedException

The current object has been disposed.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2015 Microsoft