Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Reads or creates Web objects that correspond to each WebObjectsRow in the ObjectLinkProviderDataSet.
Namespace: WebSvcObjectLinkProvider
Assembly: ProjectServerServices (in ProjectServerServices.dll)
Syntax
'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/ObjectLinkProvider/ReadOrCreateWebObjects", 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 Sub ReadOrCreateWebObjects ( _
ByRef lookupDataSet As ObjectLinkProviderDataSet _
)
'Usage
Dim instance As ObjectLinkProvider
Dim lookupDataSet As ObjectLinkProviderDataSet
instance.ReadOrCreateWebObjects(lookupDataSet)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/ObjectLinkProvider/ReadOrCreateWebObjects", 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 void ReadOrCreateWebObjects(
ref ObjectLinkProviderDataSet lookupDataSet
)
Parameters
- lookupDataSet
Type: WebSvcObjectLinkProvider.ObjectLinkProviderDataSet
Remarks
The data in each WebObjectRow includes a GUID and enough information to either look up or create a Web object. The data must include WOBJ_UID for the ReadOrCreateWebObjects method to work.
If ReadOrCreateWebObjects finds a Web object that matches the WOBJ_UID, then the method updates the database for that Web object. If ReadOrCreateWebObjects finds a matching Web object using the extended data, then it updates the WOB_UID field in the ObjectLinkProviderDataSet.WebObjectsRow with the actual WOBJ_UID of the Web object that is in the database.
If a Web object does not exist that matches either the WOBJ_UID or the extended data, then ReadOrCreateWebObjects inserts a record with the WOBJ_UID value in the ObjectLinkProviderDataSet.WebObjectsRow.