ObjectLinkProvider.CreateWebObjectLinksByGuid Method
Creates links between web objects based on the object GUIDs.
Namespace: [ObjectLinkProvider Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/ObjectLinkProvider.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/ObjectLinkProvider.asmx?wsdl
Syntax
'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/ObjectLinkProvider/CreateWebObjectLinksByGuid", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/ObjectLinkProvider/", _
ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/ObjectLinkProvider/", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function CreateWebObjectLinksByGuid ( _
webObjectUid As Guid, _
webObjectUidsToLinkTo As Guid(), _
linkTypes As WebObjectLinkType() _
) As Integer
'Usage
Dim instance As ObjectLinkProvider
Dim webObjectUid As Guid
Dim webObjectUidsToLinkTo As Guid()
Dim linkTypes As WebObjectLinkType()
Dim returnValue As Integer
returnValue = instance.CreateWebObjectLinksByGuid(webObjectUid, _
webObjectUidsToLinkTo, linkTypes)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/ObjectLinkProvider/CreateWebObjectLinksByGuid", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/ObjectLinkProvider/",
ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/ObjectLinkProvider/",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public int CreateWebObjectLinksByGuid(
Guid webObjectUid,
Guid[] webObjectUidsToLinkTo,
WebObjectLinkType[] linkTypes
)
Parameters
- webObjectUid
Type: System.Guid
Contains the web object GUID.
- webObjectUidsToLinkTo
Type: []
Contains an array of web object GUIDs to link to.
- linkTypes
Type: []
Contains an array of web object link types.
Return Value
Type: System.Int32