共用方式為


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

適用於

另請參閱