SNITerminate() 개인적인 메소드

private SNITerminate ( ) : uint
리턴 uint
 protected override bool ReleaseHandle()
 {
     if (base.handle != IntPtr.Zero)
     {
         if (this._sniStatus == 0)
         {
             LocalDBAPI.ReleaseDLLHandles();
             SNINativeMethodWrapper.SNITerminate();
         }
         base.handle = IntPtr.Zero;
     }
     return(true);
 }
예제 #2
0
        override protected bool ReleaseHandle()
        {
            if (base.handle != IntPtr.Zero)
            {
                if (TdsEnums.SNI_SUCCESS == _sniStatus)
                {
                    LocalDBAPI.ReleaseDLLHandles();
                    SNINativeMethodWrapper.SNITerminate();
                }
                base.handle = IntPtr.Zero;
            }

            return(true);
        }