示例#1
0
 private void CloseConnection(SdeConnection sdeConnection)
 {
     sdeConnection.FreeStream();
     if (sdeConnection.SeConnection.handle != 0)
     {
         Wrapper92_64.SE_connection_free(sdeConnection.SeConnection);
         sdeConnection.SeConnection.handle = 0;
     }
 }
示例#2
0
        protected override void CloseConnection(SdeConnection connection)
        {
            if (connection == null)
            {
                return;
            }

            if (connection.SeConnection.handle != 0)
            {
                Wrapper92_64.SE_connection_free(connection.SeConnection);
                connection.SeConnection.handle = 0;
            }
        }