コード例 #1
0
        public CcmErrorCode Initialize(string connectionName)
        {
            var result = Environment.Is64BitProcess ?
                         CcmSdk64.CCMInitialize(connectionName) :
                         CcmSdk32.CCMInitialize(connectionName);

            if (result == (int)CcmErrorCode.CCM_OK)
            {
                Initialized = true;
            }

            return((CcmErrorCode)result);
        }