del método QueueSystem.QueuePurgeArchivedJobs
Purga archiva trabajos de la cola de Project Server.
Espacio de nombres: WebSvcQueueSystem
Ensamblado: ProjectServerServices (en ProjectServerServices.dll)
Sintaxis
'Declaración
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/QueueSystem/QueuePurgeArchivedJobs", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/QueueSystem/", _
ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/QueueSystem/", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Sub QueuePurgeArchivedJobs ( _
jobUid As Guid, _
queueId As QueueID, _
correlationUID As Nullable(Of Guid), _
messageType As Nullable(Of QueueMsgType), _
hoursHistory As Nullable(Of Integer) _
)
'Uso
Dim instance As QueueSystem
Dim jobUid As Guid
Dim queueId As QueueID
Dim correlationUID As Nullable(Of Guid)
Dim messageType As Nullable(Of QueueMsgType)
Dim hoursHistory As Nullable(Of Integer)
instance.QueuePurgeArchivedJobs(jobUid, _
queueId, correlationUID, messageType, _
hoursHistory)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/QueueSystem/QueuePurgeArchivedJobs", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/QueueSystem/",
ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/QueueSystem/",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void QueuePurgeArchivedJobs(
Guid jobUid,
QueueID queueId,
Nullable<Guid> correlationUID,
Nullable<QueueMsgType> messageType,
Nullable<int> hoursHistory
)
Parámetros
jobUid
Tipo: System.GuidGUID del trabajo de cola.
queueId
Tipo: WebSvcQueueSystem.QueueIDUno de la enumeración QueueID valores ProjectQ o TimesheetQ.
correlationUID
Tipo: System.Nullable<Guid>GUID de la correlación de trabajo; Si una referencia null (Nothing en Visual Basic), Purgar todas las correlaciones.
messageType
Tipo: System.Nullable<QueueMsgType>valor de la enumeración QueueMsgType ; Si una referencia null (Nothing en Visual Basic), purgar todos los tipos.
hoursHistory
Tipo: System.Nullable<Int32>Especifica el número de horas de los trabajos de archivados para purgar; Si una referencia null (Nothing en Visual Basic), purgar todo.
Comentarios
Permisos de Project Server
Se necesita uno de los siguientes permisos.
Permiso |
Descripción |
---|---|
Permite al usuario administrar la cola de Project Server. Permiso global. |
|
Permite al usuario eliminar o mover los proyectos. Permiso global. |