Compartir a través de


ObjectLinkProvider.ReadObjectLinkType Method

Gets the link type between two specified Web objects.

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/ReadObjectLinkType", 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 ReadObjectLinkType ( _
    object1 As Guid, _
    object2 As Guid _
) As WebObjectLinkType
'Usage
Dim instance As ObjectLinkProvider
Dim object1 As Guid
Dim object2 As Guid
Dim returnValue As WebObjectLinkType

returnValue = instance.ReadObjectLinkType(object1, _
    object2)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/ObjectLinkProvider/ReadObjectLinkType", 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 WebObjectLinkType ReadObjectLinkType(
    Guid object1,
    Guid object2
)

Parameters

  • object1
    Type: System.Guid
    Contains the GUID of object1.
  • object2
    Type: System.Guid
    Contains the GUID of object2.

Return Value

Type: [ObjectLinkProvider Web service].WebObjectLinkType

See Also

Reference

ObjectLinkProvider Class

ObjectLinkProvider Members

ObjectLinkProvider Web Service