The Find Documents to Share command on the design tool menu implements FindDocsToPublish to find if there are any documents to publish since the last publish in the current plant context. The method displays the Find Documents to Share dialog box.
Some tools keep track of documents published, modified and terminated since the last publish. In this scenario, SPCLCommonUI communicates with ISPAdapter to get a list of documents to publish from the tool. SPCLCommonUI also communicates with ISPAdapter and the server to make a list of documents, whether shared or only revised, that can be terminated.
Arguments
None.
Return Value
-
0 if method is successful.
-
A negative number if method fails (check the LastErrorMessage property for error message).
Comments
None.