Workspace Delete Method

See Also

This method deletes the workspace from the Repository. Any relationships that connect the workspace to other objects are deleted. If the workspace is an origin object of a relationship collection, and the relationship type indicates that deletes are to be propagated, all of the destination objects are also deleted.

Syntax

Call object.Delete

The Delete method syntax has the following parts.

Part Description
object An object expression that evaluates to a Workspace object.

Remarks

This member is exposed by the IRepositoryObjectVersion interface, a non-default interface for this object. For details on how to access a member of an interface that is not the default interface, see Accessing Automation Object Members.