Partilhar via


ReplicationNeighborCollection.Contains(ReplicationNeighbor) Método

Definição

Determina se o objeto ReplicationNeighbor especificado está nesta coleção.

public:
 bool Contains(System::DirectoryServices::ActiveDirectory::ReplicationNeighbor ^ neighbor);
public bool Contains (System.DirectoryServices.ActiveDirectory.ReplicationNeighbor neighbor);
member this.Contains : System.DirectoryServices.ActiveDirectory.ReplicationNeighbor -> bool
Public Function Contains (neighbor As ReplicationNeighbor) As Boolean

Parâmetros

neighbor
ReplicationNeighbor

O objeto ReplicationNeighbor a ser pesquisado nesta coleção.

Retornos

true se o objeto ReplicationNeighbor estiver nesta coleção, caso contrário, false.

Exceções

neighbor é null.

Aplica-se a

Confira também