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