Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ReadOrCreateWebObjects method

ObjectLinkProvider.ReadOrCreateWebObjects method

Reads or creates Web objects that correspond to each WebObjectsRow in the ObjectLinkProviderDataSet.

Namespace:  WebSvcObjectLinkProvider
Assembly:  ProjectServerServices (in ProjectServerServices.dll)

[SoapDocumentMethodAttribute("http://schemas.microsoft.com/office/project/server/webservices/ObjectLinkProvider/ReadOrCreateWebObjects", RequestNamespace = "http://schemas.microsoft.com/office/project/server/webservices/ObjectLinkProvider/", 
	ResponseNamespace = "http://schemas.microsoft.com/office/project/server/webservices/ObjectLinkProvider/", 
	Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void ReadOrCreateWebObjects(
	ref ObjectLinkProviderDataSet lookupDataSet

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.

© 2015 Microsoft