.NET Framework Class Library
Revision.NewRevision Method

<< Click to Display Table of Contents >>

Navigation:  MwPDMApi Namespace > Revision Class > Revision Methods >

.NET Framework Class Library
Revision.NewRevision Method

Similar to the IncrementRevisionState; the only difference is that the revision is not automatically incremented to a computer calculated value but, instead, is assigned as argument.

Namespace: MwPDMApi
Assembly:  MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

Visual Basic

Public Sub NewRevision ( _

 revisionID As String, _
 Optional docUid As String = "", _
 Optional okAvoidInitialRevFile As Boolean = True _
)

C#

public void NewRevision(

 string revisionID,
 string docUid = "",
 bool okAvoidInitialRevFile = true
)

Visual C++

public:

void NewRevision(
 StringrevisionID,
 StringdocUid = L"",
 bool okAvoidInitialRevFile = true
)

JavaScript

function newRevision(revisionIDdocUidokAvoidInitialRevFile);

Parameters

revisionID

Type: System.String
name (number) of the revision

docUid (Optional)

Type: System.String
Optional. The document unique id

okAvoidInitialRevFile (Optional)

Type: System.Boolean
Optional. If TRUE does not create the initial .gz revision file, FALSE creates initial .gz revision file (used if docUid is specified)

Remarks

If no uid is specified, DBWorks browser must be open.

See Also

Revision Class

Revision Members

MwPDMApi Namespace