ActiveDirectorySchema.FindDefunctClass Method (String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Retrieves the defunct class that has the specified common name.

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

public ActiveDirectorySchemaClass FindDefunctClass(
	string commonName
)

Parameters

commonName
Type: System.String

The common name of the defunct class to find.

Return Value

Type: System.DirectoryServices.ActiveDirectory.ActiveDirectorySchemaClass

An ActiveDirectorySchemaClass object that represents the class with the specified common name.

Exception Condition
ActiveDirectoryObjectNotFoundException

A class with the specified name cannot be found.

ArgumentNullException

commonName is null.

ArgumentException

commonName is zero length.

ObjectDisposedException

The current object has been disposed.

.NET Framework
Available since 2.0
Return to top
Show: