IOpenResource Interface

Inherited from

IDispatch

IUnknown

IADs

Applies to Objects

Domain

You can use the IOpenResource interface to manage resources opened by a connection.

Property 

Description

Id

Gets the resource ID. This is a unique identifier for this particular resource

Name

Gets the name of the resource

Opens

Gets the number of connections open to the resource

OpenTime

Gets the time in minutes since this resource has been open

Type

Gets the resource type. This can be 0 = DiskTree, 1 = Print Queue, 2 = Device and 3 = IPC (Pipe)

UserName

Gets the name of the user who is connected to the resource