TimeSheet.ApproveProjectTimesheetLines - Méthode
Approuve ou rejette un ensemble de lignes de feuille de temps du projet.
Espace de noms : WebSvcTimeSheet
Assembly : ProjectServerServices (dans ProjectServerServices.dll)
Syntaxe
'Déclaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/TimeSheet/ApproveProjectTimesheetLines", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/TimeSheet/", _
ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/TimeSheet/", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Sub ApproveProjectTimesheetLines ( _
approvedTimesheetLines As Guid(), _
rejectedTimesheetLines As Guid(), _
comment As String _
)
'Utilisation
Dim instance As TimeSheet
Dim approvedTimesheetLines As Guid()
Dim rejectedTimesheetLines As Guid()
Dim comment As String
instance.ApproveProjectTimesheetLines(approvedTimesheetLines, _
rejectedTimesheetLines, comment)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/TimeSheet/ApproveProjectTimesheetLines", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/TimeSheet/",
ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/TimeSheet/",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void ApproveProjectTimesheetLines(
Guid[] approvedTimesheetLines,
Guid[] rejectedTimesheetLines,
string comment
)
Paramètres
- approvedTimesheetLines
Type : []
- rejectedTimesheetLines
Type : []
- comment
Type : System.String
Remarques
Autorisations Project Server
Autorisation |
Description |
---|---|
Permet à un utilisateur à approuver les lignes de feuille de temps du projet. Autorisation globale. |