TimeSheet.SubmitTimesheetLines - Méthode
Envoie les lignes de feuille de temps pour approbation.
Espace de noms : WebSvcTimeSheet
Assembly : ProjectServerServices (dans ProjectServerServices.dll)
Syntaxe
'Déclaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/TimeSheet/SubmitTimesheetLines", 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 SubmitTimesheetLines ( _
timesheetLines As Guid(), _
comment As String _
)
'Utilisation
Dim instance As TimeSheet
Dim timesheetLines As Guid()
Dim comment As String
instance.SubmitTimesheetLines(timesheetLines, _
comment)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/TimeSheet/SubmitTimesheetLines", 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 SubmitTimesheetLines(
Guid[] timesheetLines,
string comment
)
Paramètres
- timesheetLines
Type : []
- comment
Type : System.String
Remarques
Il s'agit d'une nouvelle méthode dans Project Server 2010.
Autorisations Project Server
Autorisation |
Description |
---|---|
Non standard. |
L'utilisateur actuel est le propriétaire de la feuille de temps, ou il doit être en mesure d'afficher ou de créer une feuille de temps de substitution. |