<%@ LANGUAGE="VBSCRIPT" %> MSMQ Asp Sample Delete Queue Page - 2

MSMQ Asp Sample Delete Queue Page - 2

Deleting Queue : <%= Request.QueryString ( "QueuePath" )%>
<% Set msmqinfo=CreateObject ( "MSMQ.MSMQQueueInfo" ) msmqinfo.PathName=Request.QueryString ( "QueuePath" ) on error resume next msmqinfo.Delete if err.number <> 0 then response.write "Error 0x" & Hex(Err.Number) & " - " & Err.Description & "

" else response.write "Queue deleted.

" end if Set msmqinfo=Nothing %>

[Home]