Compartilhar via


ReplicationConnectionCollection.Contains(ReplicationConnection) Método

Definição

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

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

Parâmetros

connection
ReplicationConnection

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

Retornos

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

Exceções

O parâmetro connection é null.

Aplica-se a

Confira também