ReplicationFailureCollection.Contains(ReplicationFailure) 方法

定义

确定指定的 ReplicationFailure 对象是否在此集合中。

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

参数

failure
ReplicationFailure

要在此集合中搜索的 ReplicationFailure 对象。

返回

如果 ReplicationFailure 对象处于此集合中,则为 true;否则为 false

例外

failurenull

适用于

另请参阅