ObjectLinkProvider.CreateWebObjectLinksByGuid method
Creates links between web objects based on the object GUIDs.
Namespace: WebSvcObjectLinkProvider
Assembly: ProjectServerServices (in ProjectServerServices.dll)
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.GuidContains 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