ISCPersistenceUnit::CompleteCompare
Here is the signature for the CompleteCompare function:
HRESULT CompleteCompare([in] VARIANT CCLeftModelPath, [in] VARIANT CCRightModelPath, [in] VARIANT CCOutputPath, [in] VARIANT CCOptionSet, [in] VARIANT EventID, [out, retval] VARIANT_BOOL *ppVal);
The following table contains the valid arguments for the CompleteCompare function:
|
Parameter |
Valid Type/Value |
Description |
|---|---|---|
|
CCLeftModelPath |
VT_BSTR |
Specifies the file path string to the left model file |
|
CCRightModelPath |
VT_BSTR |
Specifies the file path string to the right model file |
|
CCOutputPath |
VT_BSTR |
Specifies the file path string to the XLS output file |
|
CCOptionSet |
VT_BSTR Speed Standard Advance CC Option Set XML file path |
Specifies the complete compare option set |
|
EventID |
VT_BSTR |
For internal use |
This function works only with models saved to your disk.
Complete Compare Sample Script:
Dim oAPI
Set oAPI = CreateObject("ERwin9.SCAPI.9.0")
Dim oPropertyBag
Set oPropertyBag = CreateObject("ERwin9.SCAPI.PropertyBag.9.0")
Dim oPersistenceUnit
Set oPersistenceUnit = oAPI.PersistenceUnits.Create(oPropertyBag)
Call oPersistenceUnit.CompleteCompare("C:\test1.erwin", "C:\test2.erwin", "C:\CC_Speed.xls", "Speed", "")
Call oPersistenceUnit.CompleteCompare("C:\test1.erwin", "C:\test2.erwin", "C:\CC_Standard.xls", "Standard", "")
Call oPersistenceUnit.CompleteCompare("C:\test1.erwin", "C:\test2.erwin", "C:\CC_Standard.xls", "Standard", "")
Call oPersistenceUnit.CompleteCompare("C:\test1.erwin", "C:\test2.erwin", "C:\CC_OptionSet.xls", "C:\cc.xml", "")
|
Copyright © 2025 Quest Software, Inc. |