Collapse All Expand All

.NET Framework Class Library
Admin Class See Also

[TIBCO.EMS .NET Admin client library 5.1 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

Exception | Condition
--- | ---
TIBCO.EMS.ADMIN..::.AdminException | if not authorized or an error occurred.
TIBCO.EMS.ADMIN..::.AdminInvalidNameException | if queueName is not a legal queue name.

# See Also

Admin Class
TIBCO.EMS.ADMIN Namespace