Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Resource Web Service

The Resource class is the primary class in the [Resource Web service] namespace. The Resource class includes methods that manage projects, project entities such as tasks, resources, and assignments, and impacts on projects for portfolio analyses.

Note Note

In the ASMX web service, Resource is a class. In the WCF service, Resource is an interface that is implemented in the ResourceClient class. For information about using the ResourceClient class in a WCF-based application, see the Resource class constructor.

The [Resource Web service] namespace is an arbitrary name for a reference to the Resource.asmx web service (or the Resource.svc service) of the PSI in Microsoft Project Server 2010. Methods in the Resource class can check out, check in, update, or create resources and their authorization settings. Resources can be work, material, or cost resources. Methods also can activate or deactivate users and create, read, update, or delete resource delegates. Methods can find resources by name, GUID, or department; read resource or user data and related security information; and get all assignments for a resource.

Resource methods typically use or return one of the following DataSet objects:

  Class Description
Public class Resource Includes methods for managing resources and users in Project Server.
Public class ResourceAssignmentDataSet This class contains the assignment of enterprise resources to specific tasks.
Public class ResourceAssignmentDataSet.ResourceAssignmentCustomFieldsDataTable Represents custom field values for ResourceAssignmentDataSet.ResourceAssignmentRow rows.
Public class ResourceAssignmentDataSet.ResourceAssignmentCustomFieldsRow Represents a custom field value for a specific ResourceAssignmentDataSet.ResourceAssignmentRow object.
Public class ResourceAssignmentDataSet.ResourceAssignmentCustomFieldsRowChangeEvent Event that occurs when data in a ResourceAssignmentCustomFieldsRow is changed.
Public class ResourceAssignmentDataSet.ResourceAssignmentDataTable Represents resources assigned to specific tasks.
Public class ResourceAssignmentDataSet.ResourceAssignmentRow Represents an instance of a resource that is assigned to a specific task on a project.
Public class ResourceAssignmentDataSet.ResourceAssignmentRowChangeEvent Event that occurs when data in a ResourceAssignmentRow is changed.
Public class ResourceAuthorizationDataSet Represents the authorization of enterprise resources for project tasks.
Public class ResourceAuthorizationDataSet.CategoryPermissionsDataTable Represents information about resource category permissions that is contained in one or more ResourceAuthorizationDataSet.CategoryPermissionsRow objects.
Public class ResourceAuthorizationDataSet.CategoryPermissionsRow Specifies information associated with one row of resource authorization category permissions.
Public class ResourceAuthorizationDataSet.CategoryPermissionsRowChangeEvent Event that occurs when data in a CategoryPermissionsRow is changed.
Public class ResourceAuthorizationDataSet.GlobalPermissionsDataTable Represents information about resource global permissions that is contained in one or more ResourceAuthorizationDataSet.GlobalPermissionsRow objects.
Public class ResourceAuthorizationDataSet.GlobalPermissionsRow Represents resource global permissions information as a row in the ResourceAuthorizationDataSet.GlobalPermissionsDataTable object.
Public class ResourceAuthorizationDataSet.GlobalPermissionsRowChangeEvent Event that occurs when data in a GlobalPermissionsRow is changed.
Public class ResourceAuthorizationDataSet.GroupMembershipsDataTable Represents information about resource group memberships that is contained in one or more ResourceAuthorizationDataSet.GroupMembershipsRow objects.
Public class ResourceAuthorizationDataSet.GroupMembershipsRow Represents resource group membership information as a row in the ResourceAuthorizationDataSet.GroupMembershipsDataTable object.
Public class ResourceAuthorizationDataSet.GroupMembershipsRowChangeEvent Event that occurs when data in a GroupMembershipsRow is changed.
Public class ResourceAuthorizationDataSet.ResourcesDataTable Represents information about resource authorizations contained in one or more ResourceAuthorizationDataSet.ResourcesRow objects.
Public class ResourceAuthorizationDataSet.ResourcesRow Represents resource authorizations information as a row in the ResourceAuthorizationDataSet.ResourcesDataTable object.
Public class ResourceAuthorizationDataSet.ResourcesRowChangeEvent Event that occurs when data in a ResourcesRow is changed.
Public class ResourceAuthorizationDataSet.SecurityPrincipleCategoryRelationsDataTable Represents information about relations between security categories that is contained in one or more ResourceAuthorizationDataSet.SecurityPrincipleCategoryRelationsRow objects.
Public class ResourceAuthorizationDataSet.SecurityPrincipleCategoryRelationsRow Represents relationships between security categories as a row in the ResourceAuthorizationDataSet.SecurityPrincipleCategoryRelationsDataTable object.
Public class ResourceAuthorizationDataSet.SecurityPrincipleCategoryRelationsRowChangeEvent Event that occurs when data in a SecurityPrincipleCategoryRelationsRow is changed.
Public class ResourceDataSet Used to maintain collections of resources that are associated with projects.
Public class ResourceDataSet.CalendarExceptionsDataTable Represents information about resource calendar conflicts that is contained in one or more ResourceDataSet.CalendarExceptionsRow objects.
Public class ResourceDataSet.CalendarExceptionsRow Represents a calendar exception for one resource.
Public class ResourceDataSet.CalendarExceptionsRowChangeEvent Event that occurs when data in a CalendarExceptionsRow is changed.
Public class ResourceDataSet.ResourceAvailabilitiesDataTable Represents information about resource availabilities that is contained in one or more ResourceDataSet.ResourceAvailabilitiesRow objects.
Public class ResourceDataSet.ResourceAvailabilitiesRow Represents the availability of the resource identified with the RES_UID property.
Public class ResourceDataSet.ResourceAvailabilitiesRowChangeEvent Event that occurs when data in a ResourceAvailabilitiesRow is changed.
Public class ResourceDataSet.ResourceCustomFieldsDataTable Represents information about resource custom fields that is contained in one or more ResourceDataSet.ResourceCustomFieldsRow objects.
Public class ResourceDataSet.ResourceCustomFieldsRow Gets the custom field information related to a resource.
Public class ResourceDataSet.ResourceCustomFieldsRowChangeEvent Event that occurs when data in a ResourceCustomFieldsRow is changed.
Public class ResourceDataSet.ResourceRatesDataTable Represents information about resource rates that are contained in one or more ResourceDataSet.ResourceRatesDataTable objects.
Public class ResourceDataSet.ResourceRatesRow Gets one set of cost rate data for a resource.
Public class ResourceDataSet.ResourceRatesRowChangeEvent Event that occurs when data in a ResourceRatesRow is changed.
Public class ResourceDataSet.ResourcesDataTable Represents information about project resources that is contained in one or more ResourceDataSet.ResourcesDataTable objects.
Public class ResourceDataSet.ResourcesRow Gets the information about a specific resource.
Public class ResourceDataSet.ResourcesRowChangeEvent Event that occurs when data in a ResourcesRow is changed.
Public class UserDelegationDataSet Represents information about user resource delegations.
Public class UserDelegationDataSet.ResourceDelegationsDataTable Represents information about user resource delegations that is contained in one or more UserDelegationDataSet.ResourceDelegationsRow objects.
Public class UserDelegationDataSet.ResourceDelegationsRow Represents user resource delegations information as a row in the UserDelegationDataSet.ResourceDelegationsDataTable object.
Public class UserDelegationDataSet.ResourceDelegationsRowChangeEvent Event that occurs when data in a ResourceDelegationsRow is changed.
  Delegate Description
Public delegate ResourceAssignmentDataSet.ResourceAssignmentCustomFieldsRowChangeEventHandler Describes event handler settings for when data associated with a ResourceAssignmentDataSet.ResourceAssignmentCustomFieldsRow is edited and an event should be triggered.
Public delegate ResourceAssignmentDataSet.ResourceAssignmentRowChangeEventHandler Describes event handler settings for when data associated with a ResourceAssignmentDataSet.ResourceAssignmentRow is edited and an event should be triggered.
Public delegate ResourceAuthorizationDataSet.CategoryPermissionsRowChangeEventHandler Describes event handler settings for when data associated with a ResourceAuthorizationDataSet.CategoryPermissionsRow is edited and an event should be triggered.
Public delegate ResourceAuthorizationDataSet.GlobalPermissionsRowChangeEventHandler Describes event handler settings for when data associated with a ResourceAuthorizationDataSet.GlobalPermissionsRow is edited and an event should be triggered.
Public delegate ResourceAuthorizationDataSet.GroupMembershipsRowChangeEventHandler Describes event handler settings for when data associated with a ResourceAuthorizationDataSet.GroupMembershipsRow is edited and an event should be triggered.
Public delegate ResourceAuthorizationDataSet.ResourcesRowChangeEventHandler Describes event handler settings for when data associated with a ResourceAuthorizationDataSet.ResourcesRow is edited and an event should be triggered.
Public delegate ResourceAuthorizationDataSet.SecurityPrincipleCategoryRelationsRowChangeEventHandler Describes event handler settings for when data associated with a ResourceAuthorizationDataSet.SecurityPrincipleCategoryRelationsRow is edited and an event should be triggered.
Public delegate ResourceDataSet.CalendarExceptionsRowChangeEventHandler Describes event handler settings for when data associated with a ResourceDataSet.CalendarExceptionsRow is edited and an event should be triggered.
Public delegate ResourceDataSet.ResourceAvailabilitiesRowChangeEventHandler Describes event handler settings for when data associated with a ResourceDataSet.ResourceAvailabilitiesRow is edited and an event should be triggered.
Public delegate ResourceDataSet.ResourceCustomFieldsRowChangeEventHandler Describes event handler settings for when data associated with a ResourceDataSet.ResourceCustomFieldsRow is edited and an event should be triggered.
Public delegate ResourceDataSet.ResourceRatesRowChangeEventHandler Describes event handler settings for when data associated with a ResourceDataSet.ResourceRatesRow is edited and an event should be triggered.
Public delegate ResourceDataSet.ResourcesRowChangeEventHandler Describes event handler settings for when data associated with a ResourceDataSet.ResourcesRow is edited and an event should be triggered.
Public delegate UserDelegationDataSet.ResourceDelegationsRowChangeEventHandler Describes event handler settings for when data associated with a UserDelegationDataSet.ResourceDelegationsRow is edited and an event should be triggered.
  Enumeration Description
Public enumeration DelegationFilter Specifies the filter for finding user delegations.
Public enumeration ResourceActiveFilter Specifies the resource filter type.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.