## Vanara.PInvoke.NTDSApi  
PInvoke API (methods, structures and constants) imported from Windows NTDSApi.dll.

- Includes methods from ntdsapi.dll  
- Current NuGet release: [![Nuget](https://img.shields.io/nuget/v/Vanara.PInvoke.NTDSApi?logo=nuget&style=flat-square)![Nuget](https://img.shields.io/nuget/dt/Vanara.PInvoke.NTDSApi?label=%20&style=flat-square)](https://www.nuget.org/packages/Vanara.PInvoke.NTDSApi)  
### Methods - 100% API coverage (52 of 52 functions)  
Native Method | Header | Managed Method  
--- | --- | ---  
[DsAddSidHistory](https://www.google.com/search?num=5&q=DsAddSidHistoryA+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsAddSidHistory](https://github.com/dahall/Vanara/search?l=C%23&q=DsAddSidHistory)  
[DsBind](https://www.google.com/search?num=5&q=DsBindA+site%3Alearn.microsoft.com) | NTDSApi.h | [Vanara.PInvoke.NTDSApi.DsBind](https://github.com/dahall/Vanara/search?l=C%23&q=DsBind)  
[DsBindByInstance](https://www.google.com/search?num=5&q=DsBindByInstanceA+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsBindByInstance](https://github.com/dahall/Vanara/search?l=C%23&q=DsBindByInstance)  
[DsBindingSetTimeout](https://www.google.com/search?num=5&q=DsBindingSetTimeout+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsBindingSetTimeout](https://github.com/dahall/Vanara/search?l=C%23&q=DsBindingSetTimeout)  
[DsBindToISTG](https://www.google.com/search?num=5&q=DsBindToISTGA+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsBindToISTG](https://github.com/dahall/Vanara/search?l=C%23&q=DsBindToISTG)  
[DsBindWithCred](https://www.google.com/search?num=5&q=DsBindWithCredA+site%3Alearn.microsoft.com) | NTDSApi.h | [Vanara.PInvoke.NTDSApi.DsBindWithCred](https://github.com/dahall/Vanara/search?l=C%23&q=DsBindWithCred)  
[DsBindWithSpn](https://www.google.com/search?num=5&q=DsBindWithSpnA+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsBindWithSpn](https://github.com/dahall/Vanara/search?l=C%23&q=DsBindWithSpn)  
[DsBindWithSpnEx](https://www.google.com/search?num=5&q=DsBindWithSpnExA+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsBindWithSpnEx](https://github.com/dahall/Vanara/search?l=C%23&q=DsBindWithSpnEx)  
[DsClientMakeSpnForTargetServer](https://www.google.com/search?num=5&q=DsClientMakeSpnForTargetServerA+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsClientMakeSpnForTargetServer](https://github.com/dahall/Vanara/search?l=C%23&q=DsClientMakeSpnForTargetServer)  
[DsCrackNames](https://www.google.com/search?num=5&q=DsCrackNamesA+site%3Alearn.microsoft.com) | NTDSApi.h | [Vanara.PInvoke.NTDSApi.DsCrackNames](https://github.com/dahall/Vanara/search?l=C%23&q=DsCrackNames)  
[DsCrackSpn](https://www.google.com/search?num=5&q=DsCrackSpnA+site%3Alearn.microsoft.com) | dsparse.h | [Vanara.PInvoke.NTDSApi.DsCrackSpn](https://github.com/dahall/Vanara/search?l=C%23&q=DsCrackSpn)  
[DsCrackUnquotedMangledRdn](https://www.google.com/search?num=5&q=DsCrackUnquotedMangledRdnA+site%3Alearn.microsoft.com) | dsparse.h | [Vanara.PInvoke.NTDSApi.DsCrackUnquotedMangledRdn](https://github.com/dahall/Vanara/search?l=C%23&q=DsCrackUnquotedMangledRdn)  
[DsFreeDomainControllerInfo](https://www.google.com/search?num=5&q=DsFreeDomainControllerInfoA+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsFreeDomainControllerInfo](https://github.com/dahall/Vanara/search?l=C%23&q=DsFreeDomainControllerInfo)  
[DsFreeNameResult](https://www.google.com/search?num=5&q=DsFreeNameResultA+site%3Alearn.microsoft.com) | NTDSApi.h | [Vanara.PInvoke.NTDSApi.DsFreeNameResult](https://github.com/dahall/Vanara/search?l=C%23&q=DsFreeNameResult)  
[DsFreePasswordCredentials](https://www.google.com/search?num=5&q=DsFreePasswordCredentials+site%3Alearn.microsoft.com) | NTDSApi.h | [Vanara.PInvoke.NTDSApi.DsFreePasswordCredentials](https://github.com/dahall/Vanara/search?l=C%23&q=DsFreePasswordCredentials)  
[DsFreeSchemaGuidMap](https://www.google.com/search?num=5&q=DsFreeSchemaGuidMapA+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsFreeSchemaGuidMap](https://github.com/dahall/Vanara/search?l=C%23&q=DsFreeSchemaGuidMap)  
[DsFreeSpnArray](https://www.google.com/search?num=5&q=DsFreeSpnArrayA+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsFreeSpnArray](https://github.com/dahall/Vanara/search?l=C%23&q=DsFreeSpnArray)  
[DsGetDomainControllerInfo](https://www.google.com/search?num=5&q=DsGetDomainControllerInfoA+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsGetDomainControllerInfo](https://github.com/dahall/Vanara/search?l=C%23&q=DsGetDomainControllerInfo)  
[DsGetRdnW](https://www.google.com/search?num=5&q=DsGetRdnW+site%3Alearn.microsoft.com) | dsparse.h | [Vanara.PInvoke.NTDSApi.DsGetRdnW](https://github.com/dahall/Vanara/search?l=C%23&q=DsGetRdnW)  
[DsGetSpn](https://www.google.com/search?num=5&q=DsGetSpnA+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsGetSpn](https://github.com/dahall/Vanara/search?l=C%23&q=DsGetSpn)  
[DsInheritSecurityIdentity](https://www.google.com/search?num=5&q=DsInheritSecurityIdentityA+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsInheritSecurityIdentity](https://github.com/dahall/Vanara/search?l=C%23&q=DsInheritSecurityIdentity)  
[DsIsMangledDn](https://www.google.com/search?num=5&q=DsIsMangledDnA+site%3Alearn.microsoft.com) | dsparse.h | [Vanara.PInvoke.NTDSApi.DsIsMangledDn](https://github.com/dahall/Vanara/search?l=C%23&q=DsIsMangledDn)  
[DsIsMangledRdnValue](https://www.google.com/search?num=5&q=DsIsMangledRdnValueA+site%3Alearn.microsoft.com) | dsparse.h | [Vanara.PInvoke.NTDSApi.DsIsMangledRdnValue](https://github.com/dahall/Vanara/search?l=C%23&q=DsIsMangledRdnValue)  
[DsListDomainsInSite](https://www.google.com/search?num=5&q=DsListDomainsInSiteA+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsListDomainsInSite](https://github.com/dahall/Vanara/search?l=C%23&q=DsListDomainsInSite)  
[DsListInfoForServer](https://www.google.com/search?num=5&q=DsListInfoForServerA+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsListInfoForServer](https://github.com/dahall/Vanara/search?l=C%23&q=DsListInfoForServer)  
[DsListRoles](https://www.google.com/search?num=5&q=DsListRolesA+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsListRoles](https://github.com/dahall/Vanara/search?l=C%23&q=DsListRoles)  
[DsListServersForDomainInSite](https://www.google.com/search?num=5&q=DsListServersForDomainInSiteA+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsListServersForDomainInSite](https://github.com/dahall/Vanara/search?l=C%23&q=DsListServersForDomainInSite)  
[DsListServersInSite](https://www.google.com/search?num=5&q=DsListServersInSiteA+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsListServersInSite](https://github.com/dahall/Vanara/search?l=C%23&q=DsListServersInSite)  
[DsListSites](https://www.google.com/search?num=5&q=DsListSitesA+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsListSites](https://github.com/dahall/Vanara/search?l=C%23&q=DsListSites)  
[DsMakePasswordCredentials](https://www.google.com/search?num=5&q=DsMakePasswordCredentialsA+site%3Alearn.microsoft.com) | NTDSApi.h | [Vanara.PInvoke.NTDSApi.DsMakePasswordCredentials](https://github.com/dahall/Vanara/search?l=C%23&q=DsMakePasswordCredentials)  
[DsMakeSpn](https://www.google.com/search?num=5&q=DsMakeSpnA+site%3Alearn.microsoft.com) | dsparse.h | [Vanara.PInvoke.NTDSApi.DsMakeSpn](https://github.com/dahall/Vanara/search?l=C%23&q=DsMakeSpn)  
[DsMapSchemaGuids](https://www.google.com/search?num=5&q=DsMapSchemaGuidsA+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsMapSchemaGuids](https://github.com/dahall/Vanara/search?l=C%23&q=DsMapSchemaGuids)  
[DsQuerySitesByCost](https://www.google.com/search?num=5&q=DsQuerySitesByCostA+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsQuerySitesByCost](https://github.com/dahall/Vanara/search?l=C%23&q=DsQuerySitesByCost)  
[DsQuerySitesFree](https://www.google.com/search?num=5&q=DsQuerySitesFree+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsQuerySitesFree](https://github.com/dahall/Vanara/search?l=C%23&q=DsQuerySitesFree)  
[DsQuoteRdnValue](https://www.google.com/search?num=5&q=DsQuoteRdnValueA+site%3Alearn.microsoft.com) | dsparse.h | [Vanara.PInvoke.NTDSApi.DsQuoteRdnValue](https://github.com/dahall/Vanara/search?l=C%23&q=DsQuoteRdnValue)  
[DsRemoveDsDomain](https://www.google.com/search?num=5&q=DsRemoveDsDomainA+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsRemoveDsDomain](https://github.com/dahall/Vanara/search?l=C%23&q=DsRemoveDsDomain)  
[DsRemoveDsServer](https://www.google.com/search?num=5&q=DsRemoveDsServerA+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsRemoveDsServer](https://github.com/dahall/Vanara/search?l=C%23&q=DsRemoveDsServer)  
[DsReplicaAdd](https://www.google.com/search?num=5&q=DsReplicaAddA+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsReplicaAdd](https://github.com/dahall/Vanara/search?l=C%23&q=DsReplicaAdd)  
[DsReplicaConsistencyCheck](https://www.google.com/search?num=5&q=DsReplicaConsistencyCheck+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsReplicaConsistencyCheck](https://github.com/dahall/Vanara/search?l=C%23&q=DsReplicaConsistencyCheck)  
[DsReplicaDel](https://www.google.com/search?num=5&q=DsReplicaDelA+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsReplicaDel](https://github.com/dahall/Vanara/search?l=C%23&q=DsReplicaDel)  
[DsReplicaFreeInfo](https://www.google.com/search?num=5&q=DsReplicaFreeInfo+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsReplicaFreeInfo](https://github.com/dahall/Vanara/search?l=C%23&q=DsReplicaFreeInfo)  
[DsReplicaGetInfo2W](https://www.google.com/search?num=5&q=DsReplicaGetInfo2W+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsReplicaGetInfo2W](https://github.com/dahall/Vanara/search?l=C%23&q=DsReplicaGetInfo2W)  
[DsReplicaGetInfoW](https://www.google.com/search?num=5&q=DsReplicaGetInfoW+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsReplicaGetInfoW](https://github.com/dahall/Vanara/search?l=C%23&q=DsReplicaGetInfoW)  
[DsReplicaModify](https://www.google.com/search?num=5&q=DsReplicaModifyA+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsReplicaModify](https://github.com/dahall/Vanara/search?l=C%23&q=DsReplicaModify)  
[DsReplicaSync](https://www.google.com/search?num=5&q=DsReplicaSyncA+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsReplicaSync](https://github.com/dahall/Vanara/search?l=C%23&q=DsReplicaSync)  
[DsReplicaSyncAll](https://www.google.com/search?num=5&q=DsReplicaSyncAllA+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsReplicaSyncAll](https://github.com/dahall/Vanara/search?l=C%23&q=DsReplicaSyncAll)  
[DsReplicaUpdateRefs](https://www.google.com/search?num=5&q=DsReplicaUpdateRefsA+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsReplicaUpdateRefs](https://github.com/dahall/Vanara/search?l=C%23&q=DsReplicaUpdateRefs)  
[DsReplicaVerifyObjects](https://www.google.com/search?num=5&q=DsReplicaVerifyObjectsA+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsReplicaVerifyObjects](https://github.com/dahall/Vanara/search?l=C%23&q=DsReplicaVerifyObjects)  
[DsServerRegisterSpn](https://www.google.com/search?num=5&q=DsServerRegisterSpnA+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsServerRegisterSpn](https://github.com/dahall/Vanara/search?l=C%23&q=DsServerRegisterSpn)  
[DsUnBind](https://www.google.com/search?num=5&q=DsUnBindA+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsUnBind](https://github.com/dahall/Vanara/search?l=C%23&q=DsUnBind)  
[DsUnquoteRdnValue](https://www.google.com/search?num=5&q=DsUnquoteRdnValueA+site%3Alearn.microsoft.com) | dsparse.h | [Vanara.PInvoke.NTDSApi.DsUnquoteRdnValue](https://github.com/dahall/Vanara/search?l=C%23&q=DsUnquoteRdnValue)  
[DsWriteAccountSpn](https://www.google.com/search?num=5&q=DsWriteAccountSpnA+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsWriteAccountSpn](https://github.com/dahall/Vanara/search?l=C%23&q=DsWriteAccountSpn)  
### Enumerations  
Native Enum | Header | Managed Enum  
--- | --- | ---  
[DS_KCC_TASKID](https://www.google.com/search?num=5&q=DS_KCC_TASKID+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_KCC_TASKID](https://github.com/dahall/Vanara/search?l=C%23&q=DS_KCC_TASKID)  
[DS_MANGLE_FOR](https://www.google.com/search?num=5&q=DS_MANGLE_FOR+site%3Alearn.microsoft.com) | dsparse.h | [Vanara.PInvoke.NTDSApi.DS_MANGLE_FOR](https://github.com/dahall/Vanara/search?l=C%23&q=DS_MANGLE_FOR)  
[DS_NAME_ERROR](https://www.google.com/search?num=5&q=DS_NAME_ERROR+site%3Alearn.microsoft.com) | NTDSApi.h | [Vanara.PInvoke.NTDSApi.DS_NAME_ERROR](https://github.com/dahall/Vanara/search?l=C%23&q=DS_NAME_ERROR)  
[DS_NAME_FLAGS](https://www.google.com/search?num=5&q=DS_NAME_FLAGS+site%3Alearn.microsoft.com) | NTDSApi.h | [Vanara.PInvoke.NTDSApi.DS_NAME_FLAGS](https://github.com/dahall/Vanara/search?l=C%23&q=DS_NAME_FLAGS)  
[DS_NAME_FORMAT](https://www.google.com/search?num=5&q=DS_NAME_FORMAT+site%3Alearn.microsoft.com) | NTDSApi.h | [Vanara.PInvoke.NTDSApi.DS_NAME_FORMAT](https://github.com/dahall/Vanara/search?l=C%23&q=DS_NAME_FORMAT)  
[DS_REPL_INFO_TYPE](https://www.google.com/search?num=5&q=DS_REPL_INFO_TYPE+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_REPL_INFO_TYPE](https://github.com/dahall/Vanara/search?l=C%23&q=DS_REPL_INFO_TYPE)  
[DS_REPL_OP_TYPE](https://www.google.com/search?num=5&q=DS_REPL_OP_TYPE+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_REPL_OP_TYPE](https://github.com/dahall/Vanara/search?l=C%23&q=DS_REPL_OP_TYPE)  
[DS_REPSYNCALL_ERROR](https://www.google.com/search?num=5&q=DS_REPSYNCALL_ERROR+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_REPSYNCALL_ERROR](https://github.com/dahall/Vanara/search?l=C%23&q=DS_REPSYNCALL_ERROR)  
[DS_REPSYNCALL_EVENT](https://www.google.com/search?num=5&q=DS_REPSYNCALL_EVENT+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_REPSYNCALL_EVENT](https://github.com/dahall/Vanara/search?l=C%23&q=DS_REPSYNCALL_EVENT)  
[DS_SPN_NAME_TYPE](https://www.google.com/search?num=5&q=DS_SPN_NAME_TYPE+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_SPN_NAME_TYPE](https://github.com/dahall/Vanara/search?l=C%23&q=DS_SPN_NAME_TYPE)  
[DS_SPN_WRITE_OP](https://www.google.com/search?num=5&q=DS_SPN_WRITE_OP+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_SPN_WRITE_OP](https://github.com/dahall/Vanara/search?l=C%23&q=DS_SPN_WRITE_OP)  
[DsBindFlags](https://www.google.com/search?num=5&q=DsBindFlags+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsBindFlags](https://github.com/dahall/Vanara/search?l=C%23&q=DsBindFlags)  
[DsKCCFlags](https://www.google.com/search?num=5&q=DsKCCFlags+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsKCCFlags](https://github.com/dahall/Vanara/search?l=C%23&q=DsKCCFlags)  
[DsReplicaAddOptions](https://www.google.com/search?num=5&q=DsReplicaAddOptions+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsReplicaAddOptions](https://github.com/dahall/Vanara/search?l=C%23&q=DsReplicaAddOptions)  
[DsReplicaDelOptions](https://www.google.com/search?num=5&q=DsReplicaDelOptions+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsReplicaDelOptions](https://github.com/dahall/Vanara/search?l=C%23&q=DsReplicaDelOptions)  
[DsReplInfoFlags](https://www.google.com/search?num=5&q=DsReplInfoFlags+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsReplInfoFlags](https://github.com/dahall/Vanara/search?l=C%23&q=DsReplInfoFlags)  
[DsReplModFieldFlags](https://www.google.com/search?num=5&q=DsReplModFieldFlags+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsReplModFieldFlags](https://github.com/dahall/Vanara/search?l=C%23&q=DsReplModFieldFlags)  
[DsReplModOptions](https://www.google.com/search?num=5&q=DsReplModOptions+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsReplModOptions](https://github.com/dahall/Vanara/search?l=C%23&q=DsReplModOptions)  
[DsReplNeighborFlags](https://www.google.com/search?num=5&q=DsReplNeighborFlags+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsReplNeighborFlags](https://github.com/dahall/Vanara/search?l=C%23&q=DsReplNeighborFlags)  
[DsReplSyncAllFlags](https://www.google.com/search?num=5&q=DsReplSyncAllFlags+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsReplSyncAllFlags](https://github.com/dahall/Vanara/search?l=C%23&q=DsReplSyncAllFlags)  
[DsReplSyncOptions](https://www.google.com/search?num=5&q=DsReplSyncOptions+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsReplSyncOptions](https://github.com/dahall/Vanara/search?l=C%23&q=DsReplSyncOptions)  
[DsReplUpdateOptions](https://www.google.com/search?num=5&q=DsReplUpdateOptions+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsReplUpdateOptions](https://github.com/dahall/Vanara/search?l=C%23&q=DsReplUpdateOptions)  
[DsReplVerifyOptions](https://www.google.com/search?num=5&q=DsReplVerifyOptions+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsReplVerifyOptions](https://github.com/dahall/Vanara/search?l=C%23&q=DsReplVerifyOptions)  
[DsSchemaGuidType](https://www.google.com/search?num=5&q=DsSchemaGuidType+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DsSchemaGuidType](https://github.com/dahall/Vanara/search?l=C%23&q=DsSchemaGuidType)  
[ScheduleType](https://www.google.com/search?num=5&q=ScheduleType+site%3Alearn.microsoft.com) | schedule.h | [Vanara.PInvoke.NTDSApi.ScheduleType](https://github.com/dahall/Vanara/search?l=C%23&q=ScheduleType)  
### Structures  
Native Structure | Header | Managed Structure  
--- | --- | ---  
[DCInfoHandle](https://www.google.com/search?num=5&q=DCInfoHandle+site%3Alearn.microsoft.com) |  | [Vanara.PInvoke.NTDSApi.DCInfoHandle](https://github.com/dahall/Vanara/search?l=C%23&q=DCInfoHandle)  
[DS_DOMAIN_CONTROLLER_INFO_1](https://www.google.com/search?num=5&q=DS_DOMAIN_CONTROLLER_INFO_1+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_DOMAIN_CONTROLLER_INFO_1](https://github.com/dahall/Vanara/search?l=C%23&q=DS_DOMAIN_CONTROLLER_INFO_1)  
[DS_DOMAIN_CONTROLLER_INFO_2](https://www.google.com/search?num=5&q=DS_DOMAIN_CONTROLLER_INFO_2+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_DOMAIN_CONTROLLER_INFO_2](https://github.com/dahall/Vanara/search?l=C%23&q=DS_DOMAIN_CONTROLLER_INFO_2)  
[DS_DOMAIN_CONTROLLER_INFO_3](https://www.google.com/search?num=5&q=DS_DOMAIN_CONTROLLER_INFO_3+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_DOMAIN_CONTROLLER_INFO_3](https://github.com/dahall/Vanara/search?l=C%23&q=DS_DOMAIN_CONTROLLER_INFO_3)  
[DS_NAME_RESULT](https://www.google.com/search?num=5&q=DS_NAME_RESULT+site%3Alearn.microsoft.com) | NTDSApi.h | [Vanara.PInvoke.NTDSApi.DS_NAME_RESULT](https://github.com/dahall/Vanara/search?l=C%23&q=DS_NAME_RESULT)  
[DS_NAME_RESULT_ITEM](https://www.google.com/search?num=5&q=DS_NAME_RESULT_ITEM+site%3Alearn.microsoft.com) | NTDSApi.h | [Vanara.PInvoke.NTDSApi.DS_NAME_RESULT_ITEM](https://github.com/dahall/Vanara/search?l=C%23&q=DS_NAME_RESULT_ITEM)  
[DS_REPL_ATTR_META_DATA](https://www.google.com/search?num=5&q=DS_REPL_ATTR_META_DATA+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_REPL_ATTR_META_DATA](https://github.com/dahall/Vanara/search?l=C%23&q=DS_REPL_ATTR_META_DATA)  
[DS_REPL_ATTR_META_DATA_2](https://www.google.com/search?num=5&q=DS_REPL_ATTR_META_DATA_2+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_REPL_ATTR_META_DATA_2](https://github.com/dahall/Vanara/search?l=C%23&q=DS_REPL_ATTR_META_DATA_2)  
[DS_REPL_ATTR_META_DATA_BLOB](https://www.google.com/search?num=5&q=DS_REPL_ATTR_META_DATA_BLOB+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_REPL_ATTR_META_DATA_BLOB](https://github.com/dahall/Vanara/search?l=C%23&q=DS_REPL_ATTR_META_DATA_BLOB)  
[DS_REPL_ATTR_VALUE_META_DATA](https://www.google.com/search?num=5&q=DS_REPL_ATTR_VALUE_META_DATA+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_REPL_ATTR_VALUE_META_DATA](https://github.com/dahall/Vanara/search?l=C%23&q=DS_REPL_ATTR_VALUE_META_DATA)  
[DS_REPL_ATTR_VALUE_META_DATA_2](https://www.google.com/search?num=5&q=DS_REPL_ATTR_VALUE_META_DATA_2+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_REPL_ATTR_VALUE_META_DATA_2](https://github.com/dahall/Vanara/search?l=C%23&q=DS_REPL_ATTR_VALUE_META_DATA_2)  
[DS_REPL_ATTR_VALUE_META_DATA_EXT](https://www.google.com/search?num=5&q=DS_REPL_ATTR_VALUE_META_DATA_EXT+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_REPL_ATTR_VALUE_META_DATA_EXT](https://github.com/dahall/Vanara/search?l=C%23&q=DS_REPL_ATTR_VALUE_META_DATA_EXT)  
[DS_REPL_CURSOR](https://www.google.com/search?num=5&q=DS_REPL_CURSOR+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_REPL_CURSOR](https://github.com/dahall/Vanara/search?l=C%23&q=DS_REPL_CURSOR)  
[DS_REPL_CURSOR_2](https://www.google.com/search?num=5&q=DS_REPL_CURSOR_2+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_REPL_CURSOR_2](https://github.com/dahall/Vanara/search?l=C%23&q=DS_REPL_CURSOR_2)  
[DS_REPL_CURSOR_3W](https://www.google.com/search?num=5&q=DS_REPL_CURSOR_3W+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_REPL_CURSOR_3W](https://github.com/dahall/Vanara/search?l=C%23&q=DS_REPL_CURSOR_3W)  
[DS_REPL_CURSOR_BLOB](https://www.google.com/search?num=5&q=DS_REPL_CURSOR_BLOB+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_REPL_CURSOR_BLOB](https://github.com/dahall/Vanara/search?l=C%23&q=DS_REPL_CURSOR_BLOB)  
[DS_REPL_CURSORS](https://www.google.com/search?num=5&q=DS_REPL_CURSORS+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_REPL_CURSORS](https://github.com/dahall/Vanara/search?l=C%23&q=DS_REPL_CURSORS)  
[DS_REPL_CURSORS_2](https://www.google.com/search?num=5&q=DS_REPL_CURSORS_2+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_REPL_CURSORS_2](https://github.com/dahall/Vanara/search?l=C%23&q=DS_REPL_CURSORS_2)  
[DS_REPL_CURSORS_3W](https://www.google.com/search?num=5&q=DS_REPL_CURSORS_3W+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_REPL_CURSORS_3W](https://github.com/dahall/Vanara/search?l=C%23&q=DS_REPL_CURSORS_3W)  
[DS_REPL_KCC_DSA_FAILURESW](https://www.google.com/search?num=5&q=DS_REPL_KCC_DSA_FAILURESW+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_REPL_KCC_DSA_FAILURESW](https://github.com/dahall/Vanara/search?l=C%23&q=DS_REPL_KCC_DSA_FAILURESW)  
[DS_REPL_KCC_DSA_FAILUREW](https://www.google.com/search?num=5&q=DS_REPL_KCC_DSA_FAILUREW+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_REPL_KCC_DSA_FAILUREW](https://github.com/dahall/Vanara/search?l=C%23&q=DS_REPL_KCC_DSA_FAILUREW)  
[DS_REPL_KCC_DSA_FAILUREW_BLOB](https://www.google.com/search?num=5&q=DS_REPL_KCC_DSA_FAILUREW_BLOB+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_REPL_KCC_DSA_FAILUREW_BLOB](https://github.com/dahall/Vanara/search?l=C%23&q=DS_REPL_KCC_DSA_FAILUREW_BLOB)  
[DS_REPL_NEIGHBOR](https://www.google.com/search?num=5&q=DS_REPL_NEIGHBOR+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_REPL_NEIGHBOR](https://github.com/dahall/Vanara/search?l=C%23&q=DS_REPL_NEIGHBOR)  
[DS_REPL_NEIGHBORS](https://www.google.com/search?num=5&q=DS_REPL_NEIGHBORS+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_REPL_NEIGHBORS](https://github.com/dahall/Vanara/search?l=C%23&q=DS_REPL_NEIGHBORS)  
[DS_REPL_NEIGHBORW_BLOB](https://www.google.com/search?num=5&q=DS_REPL_NEIGHBORW_BLOB+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_REPL_NEIGHBORW_BLOB](https://github.com/dahall/Vanara/search?l=C%23&q=DS_REPL_NEIGHBORW_BLOB)  
[DS_REPL_OBJ_META_DATA](https://www.google.com/search?num=5&q=DS_REPL_OBJ_META_DATA+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_REPL_OBJ_META_DATA](https://github.com/dahall/Vanara/search?l=C%23&q=DS_REPL_OBJ_META_DATA)  
[DS_REPL_OBJ_META_DATA_2](https://www.google.com/search?num=5&q=DS_REPL_OBJ_META_DATA_2+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_REPL_OBJ_META_DATA_2](https://github.com/dahall/Vanara/search?l=C%23&q=DS_REPL_OBJ_META_DATA_2)  
[DS_REPL_OPW](https://www.google.com/search?num=5&q=DS_REPL_OPW+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_REPL_OPW](https://github.com/dahall/Vanara/search?l=C%23&q=DS_REPL_OPW)  
[DS_REPL_OPW_BLOB](https://www.google.com/search?num=5&q=DS_REPL_OPW_BLOB+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_REPL_OPW_BLOB](https://github.com/dahall/Vanara/search?l=C%23&q=DS_REPL_OPW_BLOB)  
[DS_REPL_PENDING_OPSW](https://www.google.com/search?num=5&q=DS_REPL_PENDING_OPSW+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_REPL_PENDING_OPSW](https://github.com/dahall/Vanara/search?l=C%23&q=DS_REPL_PENDING_OPSW)  
[DS_REPL_QUEUE_STATISTICSW](https://www.google.com/search?num=5&q=DS_REPL_QUEUE_STATISTICSW+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_REPL_QUEUE_STATISTICSW](https://github.com/dahall/Vanara/search?l=C%23&q=DS_REPL_QUEUE_STATISTICSW)  
[DS_REPL_VALUE_META_DATA](https://www.google.com/search?num=5&q=DS_REPL_VALUE_META_DATA+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_REPL_VALUE_META_DATA](https://github.com/dahall/Vanara/search?l=C%23&q=DS_REPL_VALUE_META_DATA)  
[DS_REPL_VALUE_META_DATA_2](https://www.google.com/search?num=5&q=DS_REPL_VALUE_META_DATA_2+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_REPL_VALUE_META_DATA_2](https://github.com/dahall/Vanara/search?l=C%23&q=DS_REPL_VALUE_META_DATA_2)  
[DS_REPL_VALUE_META_DATA_BLOB](https://www.google.com/search?num=5&q=DS_REPL_VALUE_META_DATA_BLOB+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_REPL_VALUE_META_DATA_BLOB](https://github.com/dahall/Vanara/search?l=C%23&q=DS_REPL_VALUE_META_DATA_BLOB)  
[DS_REPL_VALUE_META_DATA_BLOB_EXT](https://www.google.com/search?num=5&q=DS_REPL_VALUE_META_DATA_BLOB_EXT+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_REPL_VALUE_META_DATA_BLOB_EXT](https://github.com/dahall/Vanara/search?l=C%23&q=DS_REPL_VALUE_META_DATA_BLOB_EXT)  
[DS_REPL_VALUE_META_DATA_EXT](https://www.google.com/search?num=5&q=DS_REPL_VALUE_META_DATA_EXT+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_REPL_VALUE_META_DATA_EXT](https://github.com/dahall/Vanara/search?l=C%23&q=DS_REPL_VALUE_META_DATA_EXT)  
[DS_REPSYNCALL_ERRINFO](https://www.google.com/search?num=5&q=DS_REPSYNCALL_ERRINFO+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_REPSYNCALL_ERRINFO](https://github.com/dahall/Vanara/search?l=C%23&q=DS_REPSYNCALL_ERRINFO)  
[DS_REPSYNCALL_UPDATE](https://www.google.com/search?num=5&q=DS_REPSYNCALL_UPDATE+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_REPSYNCALL_UPDATE](https://github.com/dahall/Vanara/search?l=C%23&q=DS_REPSYNCALL_UPDATE)  
[DS_SCHEMA_GUID_MAP](https://www.google.com/search?num=5&q=DS_SCHEMA_GUID_MAP+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_SCHEMA_GUID_MAP](https://github.com/dahall/Vanara/search?l=C%23&q=DS_SCHEMA_GUID_MAP)  
[DS_SITE_COST_INFO](https://www.google.com/search?num=5&q=DS_SITE_COST_INFO+site%3Alearn.microsoft.com) | ntdsapi.h | [Vanara.PInvoke.NTDSApi.DS_SITE_COST_INFO](https://github.com/dahall/Vanara/search?l=C%23&q=DS_SITE_COST_INFO)  
[SCHEDULE](https://www.google.com/search?num=5&q=SCHEDULE+site%3Alearn.microsoft.com) | schedule.h | [Vanara.PInvoke.NTDSApi.SCHEDULE](https://github.com/dahall/Vanara/search?l=C%23&q=SCHEDULE)  
[SCHEDULE_HEADER](https://www.google.com/search?num=5&q=SCHEDULE_HEADER+site%3Alearn.microsoft.com) | schedule.h | [Vanara.PInvoke.NTDSApi.SCHEDULE_HEADER](https://github.com/dahall/Vanara/search?l=C%23&q=SCHEDULE_HEADER)  
[SpnArrayHandle](https://www.google.com/search?num=5&q=SpnArrayHandle+site%3Alearn.microsoft.com) |  | [Vanara.PInvoke.NTDSApi.SpnArrayHandle](https://github.com/dahall/Vanara/search?l=C%23&q=SpnArrayHandle)  
### Classes  
Native Class | Header | Managed Class  
--- | --- | ---  
[SafeAuthIdentityHandle](https://www.google.com/search?num=5&q=SafeAuthIdentityHandle+site%3Alearn.microsoft.com) |  | [Vanara.PInvoke.NTDSApi.SafeAuthIdentityHandle](https://github.com/dahall/Vanara/search?l=C%23&q=SafeAuthIdentityHandle)  
[SafeDS_REPSYNCALL_ERRINFOArray](https://www.google.com/search?num=5&q=SafeDS_REPSYNCALL_ERRINFOArray+site%3Alearn.microsoft.com) |  | [Vanara.PInvoke.NTDSApi.SafeDS_REPSYNCALL_ERRINFOArray](https://github.com/dahall/Vanara/search?l=C%23&q=SafeDS_REPSYNCALL_ERRINFOArray)  
[SafeDsHandle](https://www.google.com/search?num=5&q=SafeDsHandle+site%3Alearn.microsoft.com) | NTDSApi.h | [Vanara.PInvoke.NTDSApi.SafeDsHandle](https://github.com/dahall/Vanara/search?l=C%23&q=SafeDsHandle)  
[SafeDsNameResult](https://www.google.com/search?num=5&q=SafeDsNameResult+site%3Alearn.microsoft.com) | NTDSApi.h | [Vanara.PInvoke.NTDSApi.SafeDsNameResult](https://github.com/dahall/Vanara/search?l=C%23&q=SafeDsNameResult)  
[SafeDsQuerySites](https://www.google.com/search?num=5&q=SafeDsQuerySites+site%3Alearn.microsoft.com) | NTDSApi.h | [Vanara.PInvoke.NTDSApi.SafeDsQuerySites](https://github.com/dahall/Vanara/search?l=C%23&q=SafeDsQuerySites)  
[SafeDsReplicaInfo](https://www.google.com/search?num=5&q=SafeDsReplicaInfo+site%3Alearn.microsoft.com) | NTDSApi.h | [Vanara.PInvoke.NTDSApi.SafeDsReplicaInfo](https://github.com/dahall/Vanara/search?l=C%23&q=SafeDsReplicaInfo)  
[SafeDsSchemaGuidMap](https://www.google.com/search?num=5&q=SafeDsSchemaGuidMap+site%3Alearn.microsoft.com) | NTDSApi.h | [Vanara.PInvoke.NTDSApi.SafeDsSchemaGuidMap](https://github.com/dahall/Vanara/search?l=C%23&q=SafeDsSchemaGuidMap)  
[SCHEDULE](https://www.google.com/search?num=5&q=SCHEDULE+site%3Alearn.microsoft.com) | schedule.h | [Vanara.PInvoke.NTDSApi.SCHEDULE](https://github.com/dahall/Vanara/search?l=C%23&q=SCHEDULE)  
