2 writes to ADAMHandle
System.DirectoryServices (2)
System\DirectoryServices\ActiveDirectory\DirectoryContext.cs (2)
702
ADAMHandle
= ADHandle;
706
ADAMHandle
= new SafeLibraryHandle(tempHandle);
21 references to ADAMHandle
System.DirectoryServices (21)
System\DirectoryServices\ActiveDirectory\ADAMInstance.cs (20)
304
CheckConsistencyHelper(_ADAMHandle, DirectoryContext.
ADAMHandle
);
324
info = GetReplicationInfoHelper(_ADAMHandle, (int)DS_REPL_INFO_TYPE.DS_REPL_INFO_CURSORS_3_FOR_NC, (int)DS_REPL_INFO_TYPE.DS_REPL_INFO_CURSORS_FOR_NC, partition, ref advanced, context, DirectoryContext.
ADAMHandle
);
325
return ConstructReplicationCursors(_ADAMHandle, advanced, info, partition, this, DirectoryContext.
ADAMHandle
);
338
info = GetReplicationInfoHelper(_ADAMHandle, (int)DS_REPL_INFO_TYPE.DS_REPL_INFO_PENDING_OPS, (int)DS_REPL_INFO_TYPE.DS_REPL_INFO_PENDING_OPS, null, ref advanced, 0, DirectoryContext.
ADAMHandle
);
339
return ConstructPendingOperations(info, this, DirectoryContext.
ADAMHandle
);
358
info = GetReplicationInfoHelper(_ADAMHandle, (int)DS_REPL_INFO_TYPE.DS_REPL_INFO_NEIGHBORS, (int)DS_REPL_INFO_TYPE.DS_REPL_INFO_NEIGHBORS, partition, ref advanced, 0, DirectoryContext.
ADAMHandle
);
359
return ConstructNeighbors(info, this, DirectoryContext.
ADAMHandle
);
372
info = GetReplicationInfoHelper(_ADAMHandle, (int)DS_REPL_INFO_TYPE.DS_REPL_INFO_NEIGHBORS, (int)DS_REPL_INFO_TYPE.DS_REPL_INFO_NEIGHBORS, null, ref advanced, 0, DirectoryContext.
ADAMHandle
);
373
return ConstructNeighbors(info, this, DirectoryContext.
ADAMHandle
);
397
info = GetReplicationInfoHelper(_ADAMHandle, (int)DS_REPL_INFO_TYPE.DS_REPL_INFO_METADATA_2_FOR_OBJ, (int)DS_REPL_INFO_TYPE.DS_REPL_INFO_METADATA_FOR_OBJ, objectPath, ref advanced, 0, DirectoryContext.
ADAMHandle
);
398
return ConstructMetaData(advanced, info, this, DirectoryContext.
ADAMHandle
);
420
SyncReplicaHelper(_ADAMHandle, true, partition, sourceServer, 0, DirectoryContext.
ADAMHandle
);
436
SyncReplicaHelper(_ADAMHandle, true, partition, null, DS_REPSYNC_ASYNCHRONOUS_OPERATION | DS_REPSYNC_ALL_SOURCES, DirectoryContext.
ADAMHandle
);
452
SyncReplicaAllHelper(_ADAMHandle, _syncAllFunctionPointer, partition, options, SyncFromAllServersCallback, DirectoryContext.
ADAMHandle
);
814
info = GetReplicationInfoHelper(_ADAMHandle, (int)type, (int)type, null, ref advanced, 0, DirectoryContext.
ADAMHandle
);
815
return ConstructFailures(info, this, DirectoryContext.
ADAMHandle
);
828
_authIdentity = Utils.GetAuthIdentity(context, DirectoryContext.
ADAMHandle
);
834
_ADAMHandle = Utils.GetDSHandle(bindingString, null, _authIdentity, DirectoryContext.
ADAMHandle
);
844
Utils.FreeDSHandle(_ADAMHandle, DirectoryContext.
ADAMHandle
);
847
Utils.FreeAuthIdentity(_authIdentity, DirectoryContext.
ADAMHandle
);
System\DirectoryServices\ActiveDirectory\DirectoryContext.cs (1)
681
[MemberNotNull(nameof(
ADAMHandle
))]