Share via


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
      WebSvcAdmin.DepartmentsDataSet

Namespace:  WebSvcAdmin
Assembly:  ProjectServerServices (in ProjectServerServices.dll)

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

WebSvcAdmin namespace