Example #1
0
 private void CloseConnection(SdeConnection sdeConnection)
 {
     //sdeConnection.FreeStream();
     if (sdeConnection.SeConnection.handle != IntPtr.Zero)
     {
         Wrapper10.SE_connection_free(sdeConnection.SeConnection);
         sdeConnection.SeConnection.handle = IntPtr.Zero;
     }
     sdeConnection.Dataset = null;
 }
Example #2
0
        protected override void CloseConnection(SdeConnection connection)
        {
            if (connection == null)
            {
                return;
            }

            if (connection.SeConnection.handle != IntPtr.Zero)
            {
                Wrapper10.SE_connection_free(connection.SeConnection);
                connection.SeConnection.handle = IntPtr.Zero;
            }
        }