# tibemsConnectionFactory_Destroy

Function

## Purpose

Destroy a connection factory object.

## C Declaration

    tibems_status tibemsConnectionFactory_Destroy(
        tibemsConnectionFactory factory )

## COBOL Call

    CALL "tibemsConnectionFactory_Destroy"
         USING BY VALUE factory,
               RETURNING tibems-status
    END-CALL.

Note: `factory` has usage pointer.

## Parameters

Parameter | Description
--- | ---
`factory` | Destroy this connection factory.

## Remarks

Destroy an object within the program. It does not affect objects in the repository.

Copyright © Cloud Software Group, Inc. All rights reserved.