Mcs.Epm.MicrosoftProject.mpFx.ResourceCollection Class Reference

List of all members.

Public Member Functions

void AddAuthorization (Guid resourceUid, string Account, bool WindowsUser)
void Refresh ()
EnterpriseResource FindByName (string resourceName)
void Create (ResourceDataSet resourceDataSet, bool validateOnly, bool autoCheckIn)
bool ContainsKey (Guid resourceGuid)
 Determine if the guid is present in the resource collection.
void LoadResourceCustomFields ()
 Load custom field definitions defined for enterprise resources in Project Server.
EnterpriseResource GetResourceGuidByName (string resourceName)
 Given a resource name, return its EnterpriseResource object.
ResourceDataSet.ResourcesRow GetResourceGuidByAccount (string account)
ResourceDataSet ReadResources (string xmlFilter, bool autoCheckout)
 Read resources from Project Server.
IEnumerator GetEnumerator ()

Properties

EnterpriseResource this [int index] [get]
 Given an index, return the enterprise resource.
CustomFieldDataSet CustomFieldsDataSet [get]
 Return the raw PSI custom field dataset.


Detailed Description

Definition at line 23 of file ResourceCollection.cs.


Member Function Documentation

bool Mcs.Epm.MicrosoftProject.mpFx.ResourceCollection.ContainsKey ( Guid  resourceGuid  ) 

Determine if the guid is present in the resource collection.

Parameters:
resourceGuid The guid
Returns:
True or false

Definition at line 179 of file ResourceCollection.cs.

EnterpriseResource Mcs.Epm.MicrosoftProject.mpFx.ResourceCollection.GetResourceGuidByName ( string  resourceName  ) 

Given a resource name, return its EnterpriseResource object.

Parameters:
resourceName Resource name to search for
Returns:
EnterpriseResource if found, null otherwise

Definition at line 208 of file ResourceCollection.cs.

void Mcs.Epm.MicrosoftProject.mpFx.ResourceCollection.LoadResourceCustomFields (  ) 

Load custom field definitions defined for enterprise resources in Project Server.

Definition at line 191 of file ResourceCollection.cs.

ResourceDataSet Mcs.Epm.MicrosoftProject.mpFx.ResourceCollection.ReadResources ( string  xmlFilter,
bool  autoCheckout 
)

Read resources from Project Server.

Parameters:
xmlFilter The resource filter
autoCheckout True to check out read resources, false to not
Returns:
The ResourceDataSet

Definition at line 246 of file ResourceCollection.cs.


Property Documentation

CustomFieldDataSet Mcs.Epm.MicrosoftProject.mpFx.ResourceCollection.CustomFieldsDataSet [get]

Return the raw PSI custom field dataset.

Definition at line 109 of file ResourceCollection.cs.

EnterpriseResource Mcs::Epm::MicrosoftProject::mpFx.ResourceCollection::this [get]

Given an index, return the enterprise resource.

Given a resource GUID, return the enterprise resource.

Parameters:
index Ordinal
Returns:

Parameters:
resourceGuid Resource Guid
Returns:

Definition at line 59 of file ResourceCollection.cs.


The documentation for this class was generated from the following file:

Generated on Sat Jan 24 13:32:10 2009 for mpFx by  doxygen 1.5.8