다음을 통해 공유


Resource members

Includes methods for managing resources and users in Project Server.

The Resource type exposes the following members.

Constructors

  Name Description
Public method Resource Creates an Resource object from the ASMX-based Resource web service.

Top

Properties

  Name Description
Public property AllowAutoRedirect (Inherited from HttpWebClientProtocol.)
Protected property CanRaiseEvents (Inherited from Component.)
Public property ClientCertificates (Inherited from HttpWebClientProtocol.)
Public property ConnectionGroupName (Inherited from WebClientProtocol.)
Public property Container (Inherited from Component.)
Public property CookieContainer (Inherited from HttpWebClientProtocol.)
Public property Credentials (Inherited from WebClientProtocol.)
Protected property DesignMode (Inherited from Component.)
Public property EnableDecompression (Inherited from HttpWebClientProtocol.)
Protected property Events (Inherited from Component.)
Public property PreAuthenticate (Inherited from WebClientProtocol.)
Public property Proxy (Inherited from HttpWebClientProtocol.)
Public property RequestEncoding (Inherited from WebClientProtocol.)
Public property Site (Inherited from Component.)
Public property SoapVersion (Inherited from SoapHttpClientProtocol.)
Public property Timeout (Inherited from WebClientProtocol.)
Public property UnsafeAuthenticatedConnectionSharing (Inherited from HttpWebClientProtocol.)
Public property Url (Inherited from WebClientProtocol.)
Public property UseDefaultCredentials (Inherited from WebClientProtocol.)
Public property UserAgent (Inherited from HttpWebClientProtocol.)

Top

Methods

  Name Description
Public method Abort (Inherited from WebClientProtocol.)
Public method ActivateResources Activates one or more Project Server enterprise resources.
Protected method BeginInvoke (Inherited from SoapHttpClientProtocol.)
Protected method CancelAsync (Inherited from HttpWebClientProtocol.)
Public method CheckInResources Checks in one or more enterprise resources.
Public method CheckOutResources Checks out one or more enterprise resources for editing.
Public method CreateDelegations Creates the delegation information used to manage resources.
Public method CreateObjRef (Inherited from MarshalByRefObject.)
Public method CreateResources Creates one or more enterprise work, material, or cost resources.
Public method DeactivateResources Deactivates one or more enterprise resources.
Public method DeleteDelegations Deletes the delegation information used to manage resources.
Public method DeleteResources Deletes one or more enterprise resources or users.
Public method Discover (Inherited from SoapHttpClientProtocol.)
Public method Dispose() (Inherited from Component.)
Protected method Dispose(Boolean) (Inherited from Component.)
Protected method EndInvoke (Inherited from SoapHttpClientProtocol.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Component.)
Public method GetCurrentUserUid Gets the GUID of the user logged in to Project Server.
Public method GetHashCode (Inherited from Object.)
Public method GetLifetimeService (Inherited from MarshalByRefObject.)
Protected method GetReaderForMessage (Inherited from SoapHttpClientProtocol.)
Public method GetResourceUids Converts enterprise resource IDs to resource unique IDs (GUIDs).
Protected method GetService (Inherited from Component.)
Public method GetType (Inherited from Object.)
Protected method GetWebRequest (Inherited from SoapHttpClientProtocol.)
Protected method GetWebResponse(WebRequest) (Inherited from HttpWebClientProtocol.)
Protected method GetWebResponse(WebRequest, IAsyncResult) (Inherited from HttpWebClientProtocol.)
Protected method GetWriterForMessage (Inherited from SoapHttpClientProtocol.)
Public method InitializeLifetimeService (Inherited from MarshalByRefObject.)
Protected method Invoke (Inherited from SoapHttpClientProtocol.)
Protected method InvokeAsync(String, [], SendOrPostCallback) (Inherited from SoapHttpClientProtocol.)
Protected method InvokeAsync(String, [], SendOrPostCallback, Object) (Inherited from SoapHttpClientProtocol.)
Protected method MemberwiseClone() (Inherited from Object.)
Protected method MemberwiseClone(Boolean) (Inherited from MarshalByRefObject.)
Public method ReadDelegation Reads the delegation information for a specified resource.
Public method ReadDelegations Reads the delegation information used to manage resources.
Public method ReadResource Gets detailed information about the specified enterprise resource or user.
Public method ReadResourceAssignments Gets resource assignments.
Public method ReadResourceAuthorization Gets the specified resource's authorization information.
Public method ReadResourceAvailability Returns a dataset of resource availability in a timephased data structure.
Public method ReadResourceAvailabilityForGrid This member is reserved for internal use and is not intended to be used directly from your code. Returns a dataset of resource availability in a timephased data structure for the JS Grid control.
Public method ReadResourceListByDepartment Returns unique identifiers and resources names within a given Department for which a user has permissions.
Public method ReadResources Gets filtered information about enterprise resources or users.
Public method ReadUserList Gets a list of all active and disabled Project Server users. The list includes the resource GUID (RES_UID) and name (RES_NAME).
Public method SetResourceAuthorization Sets authorization values for one or more resources.
Public method ToString (Inherited from Component.)
Public method UpdateDelegations Updates delegation information used to manage resources.
Public method UpdateResources Updates, deletes, or creates one or more resources.

Top

Events

  Name Description
Public event Disposed (Inherited from Component.)

Top

See also

Reference

Resource class

WebSvcResource namespace