DsUnBind

[DllImport("ntdsapi.dll", SetLastError = true)]
public static extern int DsUnBind(
   ref IntPtr phDS
);

Microsoft documentation: Link

Last updated