Επεξεργασία

Κοινή χρήση μέσω


ReplicationNeighborCollection.Contains(ReplicationNeighbor) Method

Definition

Determines if the specified ReplicationNeighbor object is in this collection.

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

Parameters

neighbor
ReplicationNeighbor

The ReplicationNeighbor object to search for in this collection.

Returns

true if the ReplicationNeighbor object is in this collection, otherwise, false.

Exceptions

neighbor is null.

Applies to

See also