Edit

Share via


ActiveDirectorySchema.FindClass(String) Method

Definition

Retrieves the class with the specified name.

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

Parameters

ldapDisplayName
String

The LDAP display name of the class to find.

Returns

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

Exceptions

A class with the specified name cannot be found.

ldapDisplayName is null.

ldapDisplayName is zero length.

The current object has been disposed.

Applies to

See also