ActiveDirectorySchema.FindProperty(String) Método

Definição

Recupera o registro da propriedade com o nome especificado.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

Parâmetros

ldapDisplayName
String

O nome de exibição LDAP da propriedade a ser localizada.The LDAP display name of the property to find.

Retornos

ActiveDirectorySchemaProperty

Um objeto ActiveDirectorySchemaProperty que representa a propriedade com o nome especificado.A ActiveDirectorySchemaProperty object that represents the property with the specified name.

Exceções

Não foi possível localizar uma propriedade com o nome especificado.A property with the specified name cannot be found.

propertyName é null.propertyName is null.

propertyName tem tamanho zero.propertyName is zero length.

O objeto atual foi descartado.The current object has been disposed.

Aplica-se a

Confira também