Compartir a través de


PortfolioAnalyses.CreateDependency Method

Creates a dependency relationship between tasks.

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/CreateDependency", 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 CreateDependency ( _
    dependencyDataSet As OptimizerDependencyDataSet _
) As OptimizerDependencyDataSet
'Usage
Dim instance As PortfolioAnalyses
Dim dependencyDataSet As OptimizerDependencyDataSet
Dim returnValue As OptimizerDependencyDataSet

returnValue = instance.CreateDependency(dependencyDataSet)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/PortfolioAnalyses/CreateDependency", 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 CreateDependency(
    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