다음을 통해 공유


Admin Web Service

The Admin class is the primary class in the [Admin Web service] namespace. The Admin class includes methods that for managing administrative settings and operations in Project Server and related Microsoft SharePoint Foundation 2010 sites.

Note

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

The [Admin Web service] namespace is an arbitrary name for a reference to the Admin.asmx web service (or the Admin.svc service) of the PSI in Microsoft Project Server 2010.

Following are typical administrative actions that can be programmatically managed:

  • Manage statusing settings and the audit log.

  • Manage Project Server synchronization with Microsoft Active Directory directory services.

  • Manage currency and reporting periods.

The Admin class methods typically use or return one of the following objects:

Classes

  Class Description
Public class Admin Includes methods for managing administrative settings and operations in Project Server and related Microsoft SharePoint Server 2010 sites.
Public class ADSyncERPSettings Used for maintaining settings for synchronizing the Enterprise Resource Pool with associated Active Directory services.
Public class ADSyncGroupSettings Manages synchronization settings between Active Directory groups and the Enterprise Resource Pool.
Public class DepartmentsDataSet Represents the collection of departments that are used for project entities and for resource entities.
Public class DepartmentsDataSet.DepartmentsDataTable Represents a data table that maintains the collection of departments that are used for project entities and resource entities.
Public class DepartmentsDataSet.DepartmentsRow Represents one department for assigning project entities.
Public class DepartmentsDataSet.DepartmentsRowChangeEvent An event that occurs when data in a DepartmentsRow is changed.
Public class FiscalPeriodDataSet Represents the fiscal reporting period.
Public class FiscalPeriodDataSet.FiscalPeriodsDataTable Represents a data table that maintains rows of fiscal period information.
Public class FiscalPeriodDataSet.FiscalPeriodsRow Represents fiscal reporting period information as a row in the FiscalPeriodDataSet.FiscalPeriodsDataTable object.
Public class FiscalPeriodDataSet.FiscalPeriodsRowChangeEvent An event that occurs when data in a [FiscalPeriodDataSet.FiscalPeriodsRow] is changed.
Public class FiscalYearDataSet Represents information about the fiscal year reporting period.
Public class FiscalYearDataSet.FiscalYearsDataTable Represents a data table that maintains rows of fiscal year information.
Public class FiscalYearDataSet.FiscalYearsRow Represents a row of fiscal period information in the FiscalYearDataSet.FiscalYearsDataTable object.
Public class FiscalYearDataSet.FiscalYearsRowChangeEvent An event that occurs when data in a FiscalYearsRow is changed.
Public class StatusingSettingsDataSet Represents a collection of settings that manage status updates and assignments in Project Server.
Public class StatusingSettingsDataSet.StatusingSettingsDataTable Represents a data table that maintains rows of timesheet status settings.
Public class StatusingSettingsDataSet.StatusingSettingsRow A StatusingSettingsDataSet.StatusingSettingsRow object represents settings information that is used for reporting project progress.
Public class StatusingSettingsDataSet.StatusingSettingsRowChangeEvent An event that occurs when data in a StatusingSettingsRow is changed.
Public class TimePeriodDataSet Stores time period configuration information.
Public class TimePeriodDataSet.TimePeriodsDataTable Represents a data table that maintains time period information.
Public class TimePeriodDataSet.TimePeriodsRow Contains a row of time period information.
Public class TimePeriodDataSet.TimePeriodsRowChangeEvent An event that occurs when data in a TimePeriodsRow is changed.
Public class TimesheetAuditExportDataSet Used to export timesheet auditing data.
Public class TimesheetAuditExportDataSet.AuditExportsDataTable Represents a data table that maintains information for auditing and exporting timesheets.
Public class TimesheetAuditExportDataSet.AuditExportsRow Contains a row of timesheet auditing information.
Public class TimesheetAuditExportDataSet.AuditExportsRowChangeEvent An event that occurs when data in an AuditExportsRow is changed.
Public class TimesheetLineClassDataSet Used to maintain timesheet line class data that includes names and descriptions.
Public class TimesheetLineClassDataSet.LineClassesDataTable Represents a data table that maintains the timesheet line classes information that is used to populate timesheets.
Public class TimesheetLineClassDataSet.LineClassesRow Represents one timesheet line class.
Public class TimesheetLineClassDataSet.LineClassesRowChangeEvent An event that occurs when data in a TimesheetLineClassDataSet.LineClassesRow is changed.
Public class TimeSheetSettingsDataSet Represents timesheet settings in TimeSheetSettingsDataSet.TimeSheetSettingsDataTable objects and TimeSheetSettingsDataSet.TimeSheetSettingsRow objects.
Public class TimeSheetSettingsDataSet.TimeSheetSettingsDataTable Represents a data table that maintains timesheet settings information.
Public class TimeSheetSettingsDataSet.TimeSheetSettingsRow Represents timesheet settings information as a row in the TimeSheetSettingsDataSet.TimeSheetSettingsDataTable object.
Public class TimeSheetSettingsDataSet.TimeSheetSettingsRowChangeEvent An event that occurs when data in a TimeSheetSettingsRow is changed.
Public class UnsubmittedTimesheetDataSet Represents unsubmitted timesheet information for specified periods of time.
Public class UnsubmittedTimesheetDataSet.TimePeriodsDataTable Represents a data table that maintains time period information.
Public class UnsubmittedTimesheetDataSet.TimePeriodsRow Contains a row of time period information.
Public class UnsubmittedTimesheetDataSet.TimePeriodsRowChangeEvent An event that occurs when data in a TimePeriodsRow is changed.
Public class VersionsDataSet Contains Project Professional version numbers.
Public class VersionsDataSet.VersionsDataTable Represents a data table that maintains the list of Project Professional versions that can connect with Project Server.
Public class VersionsDataSet.VersionsRow Represents one Project Professional version that can connect with Project Server.
Public class VersionsDataSet.VersionsRowChangeEvent An event that occurs when data in a VersionsRow is changed.

Delegates

  Delegate Description
Public delegate DepartmentsDataSet.DepartmentsRowChangeEventHandler Represents the method that handles events which occur when an action is performed on DepartmentsDataSet.DepartmentsRow data.
Public delegate FiscalPeriodDataSet.FiscalPeriodsRowChangeEventHandler Describes event handler settings for when data associated with a FiscalPeriodDataSet.FiscalPeriodsRow is edited and an event should be triggered.
Public delegate FiscalYearDataSet.FiscalYearsRowChangeEventHandler Describes event handler settings for when data associated with a FiscalYearDataSet.FiscalYearsRow is edited and an event should be triggered.
Public delegate StatusingSettingsDataSet.StatusingSettingsRowChangeEventHandler Represents the method that handles events which occur when an action is performed on StatusingSettingsDataSet.StatusingSettingsRow data.
Public delegate TimePeriodDataSet.TimePeriodsRowChangeEventHandler Represents the method that handles events which occur when an action is performed on TimePeriodDataSet.TimePeriodsRow data.
Public delegate TimesheetAuditExportDataSet.AuditExportsRowChangeEventHandler Represents the method that handles events which occur when an action is performed on TimesheetAuditExportDataSet.AuditExportsRow data.
Public delegate TimesheetLineClassDataSet.LineClassesRowChangeEventHandler Represents the method that handles events which occur when an action is performed on TimesheetLineClassDataSet.LineClassesRow data.
Public delegate TimeSheetSettingsDataSet.TimeSheetSettingsRowChangeEventHandler Describes event handler settings for when data associated with a TimeSheetSettingsDataSet.TimeSheetSettingsRow is edited and an event should be triggered.
Public delegate UnsubmittedTimesheetDataSet.TimePeriodsRowChangeEventHandler Represents the method that handles events which occur when an action is performed on UnsubmittedTimesheetDataSet.TimePeriodsRow data.
Public delegate VersionsDataSet.VersionsRowChangeEventHandler Represents the method that handles events which occur when an action is performed on VersionsDataSet.VersionsRow data.

Enumerations

  Enumeration Description
Public enumeration ADSyncFrequencyUnit Specifies the time unit for synchronization of Project Server groups or the Enterprise Resource Pool with Active Directory directory services.
Public enumeration ADSyncStatus Indicates the state of the Enterprise Resource Pool synchronization process with associated Active Directory service groups.
Public enumeration AuditType Specifies the audit type as by adjuster, resource, or both.
Public enumeration CacheType Reserved for internal use. Specifies the type of cache.
Public enumeration DatabaseTimeoutType Reserved for internal use. Refers to the Project Server core database timeout type.
Public enumeration LineClassState Specifies the state of a timesheet line.
Public enumeration LineClassType Specifies the type of timesheet line.
Public enumeration PeriodState Specifies the state of a timesheet period for an action.
Public enumeration UserSyncSettings Specifies the synchronization settings for a Project Server user.