Partager via


PortfolioAnalyses.UpdateDependency Method

Updates the dependency relationship between tasks using modified constraints.

Namespace:  [PortfolioAnalyses Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/PortfolioAnalyses.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/PortfolioAnalyses.asmx?wsdl

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/PortfolioAnalyses/UpdateDependency", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/PortfolioAnalyses/",  _
    ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/PortfolioAnalyses/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function UpdateDependency ( _
    dependencyDataSet As OptimizerDependencyDataSet _
) As OptimizerDependencyDataSet
'Usage
Dim instance As PortfolioAnalyses
Dim dependencyDataSet As OptimizerDependencyDataSet
Dim returnValue As OptimizerDependencyDataSet

returnValue = instance.UpdateDependency(dependencyDataSet)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/PortfolioAnalyses/UpdateDependency", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/PortfolioAnalyses/", 
    ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/PortfolioAnalyses/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public OptimizerDependencyDataSet UpdateDependency(
    OptimizerDependencyDataSet dependencyDataSet
)

Parameters

Return Value

Type: [PortfolioAnalyses Web service].OptimizerDependencyDataSet
Returns OptimizerDependencyDataSet.

Remarks

Project Server Permissions

Permission

Description

ManagePortfolioAnalyses

Allows a user to create portfolio analyses. New in Project Server 2010. Global permission.

See Also

Reference

PortfolioAnalyses Class

PortfolioAnalyses Members

PortfolioAnalyses Web Service