WorksharingUtils Members


The WorksharingUtils type exposes the following members.

Methods

  NameDescription
Public methodStatic memberCheckoutElements(Document, ICollectionElementId)
Obtains ownership for the current user of as many specified elements as possible.
Public methodStatic memberCheckoutElements(Document, ISetElementId, TransactWithCentralOptions)
Obtains ownership for the current user of as many specified elements as possible.
Public methodStatic memberCheckoutWorksets(Document, ICollectionWorksetId)
Obtains ownership for the current user of as many specified worksets as possible.
Public methodStatic memberCheckoutWorksets(Document, ISetWorksetId, TransactWithCentralOptions)
Obtains ownership for the current user of as many specified worksets as possible.
Public methodStatic memberCreateNewLocal
Takes a path to a central model and copies the model into a new local file for the current user.
Public methodDispose
Releases all resources used by the WorksharingUtils
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberGetCheckoutStatus(Document, ElementId)
Gets the ownership status of an element.
Public methodStatic memberGetCheckoutStatus(Document, ElementId, String)
Gets the ownership status and outputs the owner of an element.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodStatic memberGetModelUpdatesStatus
Gets the status of a single element in the central model.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberGetUserWorksetInfo
Gets information about user worksets in a workshared model file, without fully opening the file.
Public methodStatic memberGetWorksharingTooltipInfo
Gets worksharing information about an element to display in an in-canvas tooltip.
Public methodStatic memberRelinquishOwnership
Relinquishes ownership by the current user of as many specified elements and worksets as possible, and grants element ownership requested by other users on a first-come, first-served basis.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyIsValidObject
Specifies whether the .NET object represents a valid Revit entity.

See Also