.NET Framework Class Library
Database.UpdateDatabaseActiveDoc Method
|
<< Click to Display Table of Contents >> Navigation: MwPDMApi Namespace > Database Class > Database Methods > .NET Framework Class Library |
This command has the primary goal to register document in the database without performing a save on the file. More, it updates the database with the structure/data of the active opened document. It works also with checked-out documents and it is equivalent, from a database point of view, to a _shift_ REFRESH operation.
Namespace: MwPDMApi
Assembly: MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Visual Basic |
|---|
Public Sub UpdateDatabaseActiveDoc ( _ Optional showInput As Integer = 0, _ |
C# |
|---|
public void UpdateDatabaseActiveDoc( int showInput = 0, |
Visual C++ |
|---|
public: void UpdateDatabaseActiveDoc( |
JavaScript |
|---|
function updateDatabaseActiveDoc(showInput, fullyResolveFirstLevelComponents, traverseFullReleasedStructure, refreshSharedCheckedInFiles); |
Parameters
showInput (Optional)
Type: System.Int32
Optional. 0- not show, 1- show, 2- not show and not update LAST_MODIFIED_DATE, 3- show and not update LAST_MODIFIED_DATE
fullyResolveFirstLevelComponents (Optional)
Type: System.Boolean
Optional. TRUE resolve, FALSE don't resolve
traverseFullReleasedStructure (Optional)
Type: System.Boolean
Optional. TRUE traverse with no care about the document's state Shows or not the input when updating database, FALSE don't traverse checked-in and released documents
refreshSharedCheckedInFiles (Optional)
Type: System.Boolean
Optional. TRUE refresh, FALSE don't refresh
Remarks
See Also