Bewerken

Share via


ActiveDirectorySchema.FindProperty(String) Method

Definition

Retrieves the property with the specified name.

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

Parameters

ldapDisplayName
String

The LDAP display name of the property to find.

Returns

A ActiveDirectorySchemaProperty object that represents the property with the specified name.

Exceptions

A property with the specified name cannot be found.

propertyName is null.

propertyName is zero length.

The current object has been disposed.

Applies to

See also