Rediger

Del via


ReadOnlyDirectoryServerCollection.Contains(DirectoryServer) Method

Definition

Determines if the specified DirectoryServer object is in this collection.

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

Parameters

directoryServer
DirectoryServer

The DirectoryServer object to search for in this collection.

Returns

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

Exceptions

directoryServer is null.

Applies to

See also