共用方式為


Resource members

Include protected members
Include inherited members

包含管理資源和使用者在 Project Server 中的方法。

The Resource type exposes the following members.

Constructors

  Name Description
Public method Resource 建立的Resource物件從 ASMX 為基礎的Resource的 web 服務。

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 啟動一個或多個專案伺服器企業資源。
Protected method BeginInvoke (Inherited from SoapHttpClientProtocol.)
Protected method CancelAsync (Inherited from HttpWebClientProtocol.)
Public method CheckInResources 簽入一或多個企業資源。
Public method CheckOutResources 簽出供編輯的一或多個企業資源。
Public method CreateDelegations 建立用來管理資源的委派資訊。
Public method CreateObjRef (Inherited from MarshalByRefObject.)
Public method CreateResources 建立一或多個企業工作、 材料或成本的資源。
Public method DeactivateResources 停用一或多個企業資源。
Public method DeleteDelegations 刪除用來管理資源的委派資訊。
Public method DeleteResources 刪除一個或多個企業資源的使用者。
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 取得使用者登入到 Project Server 的 GUID。
Public method GetHashCode (Inherited from Object.)
Public method GetLifetimeService (Inherited from MarshalByRefObject.)
Protected method GetReaderForMessage (Inherited from SoapHttpClientProtocol.)
Public method GetResourceUids 將企業資源識別碼轉換成資源唯一識別碼 (Guid)。
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(Boolean) (Inherited from MarshalByRefObject.)
Protected method MemberwiseClone() (Inherited from Object.)
Public method ReadDelegation 讀取指定的資源的委派資訊。
Public method ReadDelegations 讀取用來管理資源的委派資訊。
Public method ReadResource 取得有關使用者的指定的企業資源的詳細的資訊。
Public method ReadResourceAssignments 取得資源的工作分派。
Public method ReadResourceAuthorization 取得指定的資源的授權資訊。
Public method ReadResourceAvailability 傳回在按照時段的資料結構中的資源可用性的資料集。
Public method ReadResourceAvailabilityForGrid 此成員是保留給內部使用,而不是用來直接從您的程式碼使用傳回JS Grid control的時段式資料結構中的資源可用性的資料集。
Public method ReadResourceListByDepartment 傳回指定部門的使用者具有權限內的唯一識別項和資源名稱。
Public method ReadResources 取得篩選企業資源或使用者的相關資訊。
Public method ReadUserList 取得所有作用中及 [停用專案伺服器使用者的清單。此清單包括名稱 (RES_NAME) 與資源 GUID (RES_UID)。
Public method SetResourceAuthorization 設定一或多個資源的授權值。
Public method ToString (Inherited from Component.)
Public method UpdateDelegations 用來管理資源更新委派資訊。
Public method UpdateResources 更新、 刪除或建立一或多個資源。

Top

Events

  Name Description
Public event Disposed (Inherited from Component.)

Top

請參閱

參照

Resource class

WebSvcResource namespace