Click or drag to resize
Workspace Class
Represents a MatchPoint workspace.
Inheritance Hierarchy

Namespace: Colygon.MatchPoint.Workspaces.Model
Assembly: Colygon.MatchPoint (in Colygon.MatchPoint.dll) Version: 2013.11.0.0
Syntax
C#
public sealed class Workspace : SPUpdatable, 
	IDisposable, IViewableItem, IListItemWrapper, ITermResultRecord

The Workspace type exposes the following members.

Constructors
  NameDescription
Public methodWorkspace(String)
Initializes a new instance of the Workspace class
Public methodWorkspace(WorkspaceTemplateConfiguration)
This constructor is used to create a new Workspace with the given template. When using this constructor a new web or site-collection will be created. In order to create a Workspace for an existing web or site-collection use Workspace(String, WorkspaceTemplateConfiguration) instead.
Public methodWorkspace(String, WorkspaceTemplateConfiguration)
Initializes a new instance of the Workspace class
Top
Properties
  NameDescription
Public propertyContentClass
Returns the content class of the current workspace.
(Overrides SPResultRecordContentClass.)
Public propertyCopyUrl (Inherited from SPResultRecord.)
Public propertyExists
Returns 'true' if the current SPWeb is a MatchPoint workspace.
(Overrides SPUpdatableExists.)
Public propertyId
Returns the ID of the workspace.
Public propertyItem (Overrides SPUpdatableItemString.)
Public propertyItemId
Returns the ID of the workspace redirector item. A FileNotFoundException is thrown if the redirector item does not exist.
Public propertyNames
Returns a collection of field names of the configured workspace fields
Public propertyPreviewImageInBrowserUrl (Inherited from SPResultRecord.)
Public propertyPreviewInBrowserUrl (Inherited from SPResultRecord.)
Public propertyReadOnly
Returns 'true' if the workspace is currently in read-only mode.
Public propertyRolePermissionAssignments
Returns the role permission assignments for the workspace.
Public propertyTags
Returns the tags that are currently applied to the item.
(Inherited from SPUpdatable.)
Public propertyTemplate
Returns the workspace template configuration of the workspace.
Public propertyTitle
Returns the workspace title.
Public propertyUrl
Returns the URL of the workspace.
(Overrides SPResultRecordUrl.)
Public propertyUserRoleAssignments
Returns the user role assignments for the workspace.
Public propertyViewInBrowserUrl (Inherited from SPResultRecord.)
Public propertyWeb
Returns the underlying elevated SPWeb object of the workspace. All actions on this SPWeb instance will be executed as System Account.
Public propertyWorkspaceTag
Returns the workspace tag. Returns null if no workspace tag is configured.
Top
Methods
  NameDescription
Public methodArchive
Prepares the workspace for archiving.
Public methodDelete
Deletes the workspace.
Public methodDispose
Disposes the workspace.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetFieldModified
Returns the last modification date for the specified field.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetRolesForCurrentUser
Returns the roles for the current user on this workspace.
Public methodGetSimpleTags
Returns tags that are currently applied to the item (without accessing tagging service applications).
(Inherited from SPResultRecord.)
Public methodGetTagModified
Returns the last modification date of any of the specified tags.
Public methodGetTags
Returns tags that are currently applied to the item.
(Inherited from SPResultRecord.)
Public methodGetTags(TagType)
Returns tags of the specified type that are currently applied to the item.
(Inherited from SPResultRecord.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetVersions
Returns the workspace versions.
Public methodIsUserInRole
Returns 'true' if the current user is in the specified role on this workspace.
Public methodRestore
Restores an archived workspace.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdate
Writes changes on the workspace.
(Overrides SPUpdatableUpdate.)
Public methodUpdate(Boolean)
Writes changes on the workspace. If the systemUpdate parameter is specified as 'false', the 'Modified' and 'Modified by' fields will not be changed.
Top
Extension Methods
  NameDescription
Public Extension MethodGetTermsOverloaded.
Returns all terms from the a result record.
(Defined by TermResultRecordExtensions.)
Public Extension MethodGetTerms(String)Overloaded.
Returns terms from a specific field from a result record.
(Defined by TermResultRecordExtensions.)
Top
See Also