IWorkspaceItem Interface

See Also

The IWorkspaceItem interface contains methods for managing workspace items — 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.

(c) 1988-1998 Microsoft Corporation. All Rights Reserved.