Solid Edge Revision Manager Object Library
FindWhereUsedOnServer Method
Specifies the number of properties to search for. When working with Solid Edge V17 and earlier, this argument is required to be 1. When working with Solid Edge V18 and later, this argument should be 0.
Specifies the properties to search for. When working with Solid Edge V17 and earlier, this argument is required to contain at least one property, with a value "DAV:href". When working with Solid Edge V18 and later, this argument should be an empty array.
Specifies the number of SharePoint URLs in which to search.
Specifies the SharePoint URLs in which to search.
Specifies the number of matching documents to return.
Specifies the documents to search.
Specifies the number of documents to search.
Specifies the files that match the search criteria.
Specifies whether the search is a deep search (1) or a shallow search (0). Shallow Search specifies to search in the specified directories only. Deep Search specifies to search in the specified folders and their children.

Return Value

Description
This method searches the server for files that use the properties you specify.
Syntax
Visual Basic
Public Function FindWhereUsedOnServer( _
   ByVal NumberOfProperties As Long, _
   ByVal ListOfProperties As Variant, _
   ByVal NumberOfSharePointDirectories As Long, _
   ByVal ListOfSharePointDirectories As Variant, _
   ByVal NumberOfDocuments As Long, _
   ByVal ListOfDocumentsForWhereUsed As Variant, _
   ByRef NumberOfUserFiles As Long, _
   ByRef DocumentsUsedByList As Variant, _
   Optional ByVal TypeOfSearch As Variant _
) As Long
Parameters
NumberOfProperties
Specifies the number of properties to search for. When working with Solid Edge V17 and earlier, this argument is required to be 1. When working with Solid Edge V18 and later, this argument should be 0.
ListOfProperties
Specifies the properties to search for. When working with Solid Edge V17 and earlier, this argument is required to contain at least one property, with a value "DAV:href". When working with Solid Edge V18 and later, this argument should be an empty array.
NumberOfSharePointDirectories
Specifies the number of SharePoint URLs in which to search.
ListOfSharePointDirectories
Specifies the SharePoint URLs in which to search.
NumberOfDocuments
Specifies the number of matching documents to return.
ListOfDocumentsForWhereUsed
Specifies the documents to search.
NumberOfUserFiles
Specifies the number of documents to search.
DocumentsUsedByList
Specifies the files that match the search criteria.
TypeOfSearch
Specifies whether the search is a deep search (1) or a shallow search (0). Shallow Search specifies to search in the specified directories only. Deep Search specifies to search in the specified folders and their children.

Return Value

See Also

Insight Object  | Insight Members

Send comments on this topic.