Copyright © TIBCO Software Inc. All Rights Reserved

> tibemsConnection_GetClientId
> Function
> Purpose
> Get the client ID of a connection.
> C Declaration
> tibems_status tibemsConnection_GetClientId(
> tibemsConnection connection,
> const char** clientId );
> COBOL Call
> CALL "tibemsConnection_GetClientId"
> USING BY VALUE connection,
> BY REFERENCE clientId,
> RETURNING tibems-status
> END-CALL.

> | connection and clientId have usage pointer.

> Parameters

> Parameter | Description
> connection | Get the client ID of this connection.
> clientId | The function stores a pointer to the ID string in this location.

> Remarks
> Each connection uses a unique client ID.
> Client IDs partition the namespace of durable subscribers; see tibemsSession_CreateDurableSubscriber on page 295.
> See Also
> tibemsConnection_SetClientId on page 214

Copyright © TIBCO Software Inc. All Rights Reserved