IWorkspaceItem Interface

Meta Data Services Programming

Meta Data Services Programming

IWorkspaceItem Interface

The IWorkspaceItem interface contains methods for managing workspace items, that is, object versions that can be present in or checked out to a workspace.

When to Use

Use the IWorkspaceItem interface to manage the participation of object versions within workspaces.

Methods
IUnknown method Description
QueryInterface Returns pointers to supported interfaces
AddRef Increments the reference count
Release Decrements the reference count
IDispatch method Description
GetIDsOfNames Maps a single member and a set of argument names to a corresponding set of dispatch identifiers
GetTypeInfo Retrieves a type information object, which can be used to get the type information for an interface
GetTypeInfoCount Retrieves the number of type information interfaces that an object provides (either 0 or 1)
Invoke Provides access to properties and methods exposed by an Automation object

IRepositoryDispatch method Description
get_Properties Retrieves the IReposProperties interface pointer. The IReposProperties interface provides access to the Properties collection.

IWorkspaceItem method Description
Checkin Terminates the ability to modify the current object version from within the current workspace
Checkout Establishes the current workspace as the only workspace within which the current object version can be modified
get_CheckedOutToWorkspace Returns the workspace to which the current object version is checked out
get_IsCheckedOut Indicates whether any workspace has the current object version checked out
get_Workspaces Returns the collection of workspaces in which the current object version is present

See Also

Workspace Object