Compartilhar via


PublishedTaskCollection.GetById method

Obtém uma tarefa na coleção com o valor de Id .

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

Syntax

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

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

Parameters

  • objectId
    Type: System.String
    A representação de seqüência de caracteres da tarefa GUID.

Return value

Type: Microsoft.ProjectServer.Client.PublishedTask
A tarefa no projeto publicado.

See also

Reference

PublishedTaskCollection class

PublishedTaskCollection members

Microsoft.ProjectServer.Client namespace