1 write to _dsHandle
System.DirectoryServices (1)
System\DirectoryServices\ActiveDirectory\DomainController.cs (1)
1189
_dsHandle
= Utils.GetDSHandle(replicaName, null, _authIdentity, DirectoryContext.ADHandle);
17 references to _dsHandle
System.DirectoryServices (17)
System\DirectoryServices\ActiveDirectory\DomainController.cs (17)
428
CheckConsistencyHelper(
_dsHandle
, DirectoryContext.ADHandle);
448
info = GetReplicationInfoHelper(
_dsHandle
, (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.ADHandle);
449
return ConstructReplicationCursors(
_dsHandle
, advanced, info, partition, this, DirectoryContext.ADHandle);
462
info = GetReplicationInfoHelper(
_dsHandle
, (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.ADHandle);
482
info = GetReplicationInfoHelper(
_dsHandle
, (int)DS_REPL_INFO_TYPE.DS_REPL_INFO_NEIGHBORS, (int)DS_REPL_INFO_TYPE.DS_REPL_INFO_NEIGHBORS, partition, ref advanced, 0, DirectoryContext.ADHandle);
496
info = GetReplicationInfoHelper(
_dsHandle
, (int)DS_REPL_INFO_TYPE.DS_REPL_INFO_NEIGHBORS, (int)DS_REPL_INFO_TYPE.DS_REPL_INFO_NEIGHBORS, null, ref advanced, 0, DirectoryContext.ADHandle);
521
info = GetReplicationInfoHelper(
_dsHandle
, (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.ADHandle);
544
SyncReplicaHelper(
_dsHandle
, false, partition, sourceServer, 0, DirectoryContext.ADHandle);
560
SyncReplicaHelper(
_dsHandle
, false, partition, null, DS_REPSYNC_ASYNCHRONOUS_OPERATION | DS_REPSYNC_ALL_SOURCES, DirectoryContext.ADHandle);
576
SyncReplicaAllHelper(
_dsHandle
, syncAllFunctionPointer, partition, options, SyncFromAllServersCallback, DirectoryContext.ADHandle);
865
return
_dsHandle
;
1070
result = dsGetDomainControllerInfo(
_dsHandle
, domainName, dcInfoLevel, &dcCount, &dcInfoPtr);
1076
result = dsGetDomainControllerInfo(
_dsHandle
, domainName, dcInfoLevel, &dcCount, &dcInfoPtr);
1180
if (
_dsHandle
== IntPtr.Zero)
1199
Utils.FreeDSHandle(
_dsHandle
, DirectoryContext.ADHandle);
1215
info = GetReplicationInfoHelper(
_dsHandle
, (int)type, (int)type, null, ref advanced, 0, DirectoryContext.ADHandle);
1238
result = dsListRoles(
_dsHandle
, &rolesPtr);