예제 #1
0
 private void CloseConnection(SdeConnection sdeConnection)
 {
     sdeConnection.FreeStream();
     if (sdeConnection.SeConnection.handle != 0)
     {
         Wrapper92.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.SE_connection_free(connection.SeConnection);
                connection.SeConnection.handle = 0;
            }
        }