DepartmentsDataSet Class

Represents the collection of departments that are used for project entities and for resource entities.

Inheritance Hierarchy

System.Object
  System.ComponentModel.MarshalByValueComponent
    System.Data.DataSet
      [Admin Web service].DepartmentsDataSet

Namespace:  [Admin Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/Admin.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/Admin.asmx?wsdl

Syntax

'Declaration
<SerializableAttribute> _
Public Class DepartmentsDataSet _
    Inherits DataSet
'Usage
Dim instance As DepartmentsDataSet
[SerializableAttribute]
public class DepartmentsDataSet : DataSet

Remarks

Projects and resources are the Project Server entities that can be associated with a department, by using the Project Departments custom field and the Resource Departments custom field. For a code example that includes a DepartmentsDataSet object, see ReadDepartments.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

DepartmentsDataSet Members

Admin Web Service