SOLIDWORKS PDM Professional API Help Send Feedback
VerUpgrade_ReferenceCheck Method (IEdmRevisionMgr3)
See Also 
EPDM.Interop.epdm Namespace > IEdmRevisionMgr3 Interface : VerUpgrade_ReferenceCheck Method (IEdmRevisionMgr3)


poFiles
Array of EdmSelItem structures; one structure for each assembly file for which to find references
ppoWrongRefs
Array of EdmCheckRef structures; one structure for each part that is referenced in an earlier version than the lastest version
Finds parts that are referenced by assemblies and where the referenced part version is not the latest version.

Syntax

Visual Basic 
Sub VerUpgrade_ReferenceCheck( _
   ByVal poFiles() As EdmSelItem, _
   ByRef ppoWrongRefs() As EdmCheckRef _
) 
C# 
void VerUpgrade_ReferenceCheck( 
   EdmSelItem[] poFiles,
   out EdmCheckRef[] ppoWrongRefs
)
C++/CLI 
void VerUpgrade_ReferenceCheck( 
&   array<EdmSelItem>^ poFiles,
&   [Out] array<EdmCheckRef>^ ppoWrongRefs
) 

Parameters

poFiles
Array of EdmSelItem structures; one structure for each assembly file for which to find references
ppoWrongRefs
Array of EdmCheckRef structures; one structure for each part that is referenced in an earlier version than the lastest version

Remarks

You need to be logged in as a user that has permission to update revision numbers (EdmSysRightFlags.EdmSysRight_ModifyRevisionNumbers) in order to use this method. The reason you need this high level of permission is that this method overrides read permission on the files and returns files that the logged-in user lacks permission to see.

Return codes:

  • S_OK: The method successfully executed.
 

See Also

Availability

SOLIDWORKS PDM Professional 2009