3.3.4.1 IMSMQManagement Interface

The IMSMQManagement interface provides methods that return information about a queue. The version number for this interface is 1.0.

To receive incoming remote calls for this interface, the server MUST implement a DCOM object class with the CLSID {39ce96fe-f4c5-4484-a143-4c2d5d324229} (coclass MSMQManagement, as specified in section 1.9), which implements the IMSMQManagement interface by using the UUID {be5f0241-e489-4957-8cc4-a452fcf3e23e}.

The following opnum table begins at opnum 7. Opnums 0 through 2 are inherited from the IUnknown interface, as specified in [MS-DCOM] section 3.1.1.5.8. Opnums 3 through 6 are inherited from the IDispatch interface, as specified in [MS-OAUT] section 3.1.4.

Methods in RPC Opnum Order

Method

Description

Init

Initializes the object to represent the state of an active queue.

Opnum: 7

FormatName, get FormatName

Returns a format name for the queue that is represented by this object.

Opnum: 8

Machine, get Machine

Returns the name of the computer on which the queue manager that owns the queue represented by this object is running.

Opnum: 9

MessageCount, get MessageCount

Returns the number of messages in the queue that is represented by this object.

Opnum: 10

ForeignStatus, get ForeignStatus

Returns a flag that indicates whether the queue that is represented by this object is a foreign queue.

Opnum: 11

QueueType, get QueueType

Returns a flag that indicates the type of the queue that is represented by this object.

Opnum: 12

IsLocal, get IsLocal

Returns a BOOLEAN value that indicates whether the queue that is represented by this object is owned by the local queue manager or a remote queue manager.

Opnum: 13

TransactionalStatus, get TransactionalStatus

Returns a flag that indicates whether the queue that is represented by this object is a transactional queue or a nontransactional queue.

Opnum: 14

BytesInQueueget, BytesInQueue

Returns the number of message bytes in the queue that is represented by this object.

Opnum: 15