public static int MdsDisconnectServer(int clientHandle, int cursor, int[] error) { if (Environment.Is64BitProcess) { return(OlapNativeImports64.MdsDisconnectServer(clientHandle, cursor, error)); } else { return(OlapNativeImports32.MdsDisconnectServer(clientHandle, cursor, error)); } }