Compartilhar via


PublishedProjectResourceCollection.GetById método

Obtém um recurso da coleção com o valor de Id .

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

Sintaxe

'Declaração
<RemoteAttribute> _
Public Function GetById ( _
    objectId As String _
) As PublishedProjectResource
'Uso
Dim instance As PublishedProjectResourceCollection
Dim objectId As String
Dim returnValue As PublishedProjectResource

returnValue = instance.GetById(objectId)
[RemoteAttribute]
public PublishedProjectResource GetById(
    string objectId
)

Parâmetros

  • objectId
    Tipo: System.String

    A representação de cadeia de caracteres do GUID do recurso.

Valor retornado

Tipo: Microsoft.ProjectServer.Client.PublishedProjectResource
Um objeto Resource .

Ver também

Referência

PublishedProjectResourceCollection classe

PublishedProjectResourceCollection membros

Microsoft.ProjectServer.Client namespace