ReplicationOperationCollection.Contains(ReplicationOperation) 方法

定义

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

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

参数

operation
ReplicationOperation

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

返回

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

例外

operation 参数为 null

适用于

另请参阅