ReplicationNeighborCollection.Contains(ReplicationNeighbor) Methode

Definition

Bestimmt, ob sich das angegebene ReplicationNeighbor Objekt in dieser Auflistung befindet.

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

Parameter

neighbor
ReplicationNeighbor

Das ReplicationNeighbor Objekt, nach dem in dieser Auflistung gesucht werden soll.

Gibt zurück

true wenn sich das ReplicationNeighbor Objekt in dieser Auflistung befindet, andernfalls false.

Ausnahmen

neighbor ist null.

Gilt für:

Weitere Informationen