ActiveDirectorySchema.FindDefunctClass(String) Method

Definition

Retrieves the defunct class that has the specified common name.

public:
 System::DirectoryServices::ActiveDirectory::ActiveDirectorySchemaClass ^ FindDefunctClass(System::String ^ commonName);
public System.DirectoryServices.ActiveDirectory.ActiveDirectorySchemaClass FindDefunctClass (string commonName);
member this.FindDefunctClass : string -> System.DirectoryServices.ActiveDirectory.ActiveDirectorySchemaClass
Public Function FindDefunctClass (commonName As String) As ActiveDirectorySchemaClass

Parameters

commonName
String

The common name of the defunct class to find.

Returns

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

Exceptions

A class with the specified name cannot be found.

commonName is null.

commonName is zero length.

The current object has been disposed.

Applies to

See also