Compartir a través de


del método ProjectCollection.GetById

Obtiene un proyecto de la colección con el valor de Id .

Espacio de nombres:  Microsoft.ProjectServer.Client
Ensamblado:  Microsoft.ProjectServer.Client (en Microsoft.ProjectServer.Client.dll)

Sintaxis

'Declaración
<RemoteAttribute> _
Public Function GetById ( _
    objectId As String _
) As PublishedProject
'Uso
Dim instance As ProjectCollection
Dim objectId As String
Dim returnValue As PublishedProject

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

Parámetros

  • objectId
    Tipo: System.String

    La representación de cadena del GUID de proyecto.

Valor devuelto

Tipo: Microsoft.ProjectServer.Client.PublishedProject
Un proyecto publicado.

Vea también

Referencia

clase ProjectCollection

Miembros ProjectCollection

Espacio de nombres Microsoft.ProjectServer.Client