public static double GetNValue(int cursor) { if (Environment.Is64BitProcess) { return(OlapNativeImports64.GetNValue(cursor)); } else { return(OlapNativeImports32.GetNValue(cursor)); } }
public static int MdsXMLRequestUTF8String(int clientHandle, int cursor, string xmlIn, out IntPtr result, int[] error) { if (Environment.Is64BitProcess) { return(OlapNativeImports64.MdsXMLRequestUTF8String(clientHandle, cursor, xmlIn, out result, error)); } else { return(OlapNativeImports32.MdsXMLRequestUTF8String(clientHandle, cursor, xmlIn, out result, error)); } }
private static IntPtr GetSubsetRefNameW(int cursor) { if (Environment.Is64BitProcess) { return(OlapNativeImports64.GetSubsetRefNameW(cursor)); } else { return(OlapNativeImports32.GetSubsetRefNameW(cursor)); } }
public static int MdsServerCountEx(int clientHandle, int[] error) { if (Environment.Is64BitProcess) { return(OlapNativeImports64.MdsServerCountEx(clientHandle, error)); } else { return(OlapNativeImports32.MdsServerCountEx(clientHandle, error)); } }
public static int MdsServerNameExW(int clientHandle, ref OlapNativeServerInformation serverInfo, int id, int[] error) { if (Environment.Is64BitProcess) { return(OlapNativeImports64.MdsServerNameExW(clientHandle, ref serverInfo, id, error)); } else { return(OlapNativeImports32.MdsServerNameExW(clientHandle, ref serverInfo, id, error)); } }
public static int MdsConnect(string userName, int userType, int[] error) { if (Environment.Is64BitProcess) { return(OlapNativeImports64.MdsConnect(userName, userType, error)); } else { return(OlapNativeImports32.MdsConnect(userName, userType, error)); } }
public static int MdsConnectServerWinW(int clientHandle, string servername, int terminalID, int[] error) { if (Environment.Is64BitProcess) { return(OlapNativeImports64.MdsConnectServerWinW(clientHandle, servername, terminalID, error)); } else { return(OlapNativeImports32.MdsConnectServerWinW(clientHandle, servername, terminalID, error)); } }
public static void SetDecimalPlaces(int cursor, int places) { if (Environment.Is64BitProcess) { OlapNativeImports64.SetDecimalPlaces(cursor, places); } else { OlapNativeImports32.SetDecimalPlaces(cursor, places); } }
public static void SetTableId(int cursor, int tableId) { if (Environment.Is64BitProcess) { OlapNativeImports64.SetTableId(cursor, tableId); } else { OlapNativeImports32.SetTableId(cursor, tableId); } }
public static void SetRightCondition(int cursor, int rightOperator, double rightValue) { if (Environment.Is64BitProcess) { OlapNativeImports64.SetRightCondition(cursor, rightOperator, rightValue); } else { OlapNativeImports32.SetRightCondition(cursor, rightOperator, rightValue); } }
public static void SetSize(int cursor, int size) { if (Environment.Is64BitProcess) { OlapNativeImports64.SetSize(cursor, size); } else { OlapNativeImports32.SetSize(cursor, size); } }
public static void SetCType(int cursor, char charType) { if (Environment.Is64BitProcess) { OlapNativeImports64.SetCType(cursor, charType); } else { OlapNativeImports32.SetCType(cursor, charType); } }
public static void SetParam(int cursor, uint param) { if (Environment.Is64BitProcess) { OlapNativeImports64.SetParam(cursor, param); } else { OlapNativeImports32.SetParam(cursor, param); } }
public static bool GetNextSubItem(int cursor) { if (Environment.Is64BitProcess) { return(OlapNativeImports64.GetNextSubItem(cursor)); } else { return(OlapNativeImports32.GetNextSubItem(cursor)); } }
public static void SetSubsetRefName(int cursor, string subsetRefName) { if (Environment.Is64BitProcess) { OlapNativeImports64.SetSubsetRefName(cursor, subsetRefName); } else { OlapNativeImports32.SetSubsetRefName(cursor, subsetRefName); } }
public static void SetFlags(int cursor, int flags) { if (Environment.Is64BitProcess) { OlapNativeImports64.SetFlags(cursor, flags); } else { OlapNativeImports32.SetFlags(cursor, flags); } }
public static void SetErrorLog(int cursor, string fileName) { if (Environment.Is64BitProcess) { OlapNativeImports64.SetErrorLog(cursor, fileName); } else { OlapNativeImports32.SetErrorLog(cursor, fileName); } }
public static void SetEncoding(int cursor, IpoEncoding encoding) { if (Environment.Is64BitProcess) { OlapNativeImports64.SetEncoding(cursor, encoding); } else { OlapNativeImports32.SetEncoding(cursor, encoding); } }
public static int MdsConnectServerExtW(int clientHandle, string servername, string username, string password, int timeOut, int terminalID, int[] error) { if (Environment.Is64BitProcess) { return(OlapNativeImports64.MdsConnectServerExtW(clientHandle, servername, username, password, timeOut, terminalID, error)); } else { return(OlapNativeImports32.MdsConnectServerExtW(clientHandle, servername, username, password, timeOut, terminalID, error)); } }
public static void SetDimension(int cursor, string dimName) { if (Environment.Is64BitProcess) { OlapNativeImports64.SetDimension(cursor, dimName); } else { OlapNativeImports32.SetDimension(cursor, dimName); } }
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)); } }
public static void SetCube(int cursor, string cubeName) { if (Environment.Is64BitProcess) { OlapNativeImports64.SetCube(cursor, cubeName); } else { OlapNativeImports32.SetCube(cursor, cubeName); } }
public static void CallBegin(int cursor, UniFunction function) { if (Environment.Is64BitProcess) { OlapNativeImports64.CallBegin(cursor, function); } else { OlapNativeImports32.CallBegin(cursor, function); } }
public static void SetElement(int cursor, string elemName) { if (Environment.Is64BitProcess) { OlapNativeImports64.SetElement(cursor, elemName); } else { OlapNativeImports32.SetElement(cursor, elemName); } }
public static int MdsapiGetErrorMessageW(int[] error, int errorCode, string message, int numChars) { if (Environment.Is64BitProcess) { return(OlapNativeImports64.MdsapiGetErrorMessageW(error, errorCode, message, numChars)); } else { return(OlapNativeImports32.MdsapiGetErrorMessageW(error, errorCode, message, numChars)); } }
public static void SetSValue(int cursor, string value) { if (Environment.Is64BitProcess) { OlapNativeImports64.SetSValue(cursor, value); } else { OlapNativeImports32.SetSValue(cursor, value); } }
public static int GetId(int cursor) { if (Environment.Is64BitProcess) { return(OlapNativeImports64.GetId(cursor)); } else { return(OlapNativeImports32.GetId(cursor)); } }
public static int GetCachedValuesCount(int cursor) { if (Environment.Is64BitProcess) { return(OlapNativeImports64.GetCachedValuesCount(cursor)); } else { return(OlapNativeImports32.GetCachedValuesCount(cursor)); } }
public static int MdsDoubleToString(out string formattedNumber, double number) { StringBuilder sb = new StringBuilder(1000); int returnCode = 0; if (Environment.Is64BitProcess) { returnCode = OlapNativeImports64.MdsDoubleToString(sb, number); formattedNumber = sb.ToString(); } else { returnCode = OlapNativeImports32.MdsDoubleToString(sb, number); formattedNumber = sb.ToString(); } return(returnCode); }