ActiveDirectorySchema.FindClass(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.