Share via


EnterpriseResourceCollection.GetByGuid method

Get an enterprise resource from the collection with the specified GUID.

Namespace:  Microsoft.ProjectServer.Client
Assembly:  Microsoft.ProjectServer.Client (in Microsoft.ProjectServer.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public Function GetByGuid ( _
    uid As Guid _
) As EnterpriseResource
'Usage
Dim instance As EnterpriseResourceCollection
Dim uid As Guid
Dim returnValue As EnterpriseResource

returnValue = instance.GetByGuid(uid)
[RemoteAttribute]
public EnterpriseResource GetByGuid(
    Guid uid
)

Parameters

Return value

Type: Microsoft.ProjectServer.Client.EnterpriseResource
An EnterpriseResource object.

See also

Reference

EnterpriseResourceCollection class

EnterpriseResourceCollection members

Microsoft.ProjectServer.Client namespace