[TIBCO.EMS .NET Admin client library 7.0 documentation]

Purge pending messages from the queue for the given name.

Namespace:  TIBCO.EMS.ADMIN
Assembly:  TIBCO.EMS.ADMIN (in TIBCO.EMS.ADMIN.dll)

Syntax

public void PurgeQueue(
	string queueName
)
Public Sub PurgeQueue ( _
	queueName As String _
)
public:
void PurgeQueue(
	String^ queueName
)

Parameters

queueName
Type: System..::.String
The name of the queue to purge.

Exceptions

ExceptionCondition
TIBCO.EMS.ADMIN..::.AdminExceptionif not authorized or an error occurred.
TIBCO.EMS.ADMIN..::.AdminInvalidNameExceptionif queueName is not a legal queue name.

See Also