.NET Framework Class Library
Database.QueryRevisionByUid Method

<< Click to Display Table of Contents >>

Navigation:  MwPDMApi Namespace > Database Class > Database Methods >

.NET Framework Class Library
Database.QueryRevisionByUid Method

Given the identifier of a DBWorks document, it fetches from the REVISION table of the DBWorks database the value of an assigned field.

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

Syntax

Visual Basic

Public Function QueryRevisionByUid ( _

 uid As String, _
 revision As String, _
 fieldName As String _
As String

C#

public string QueryRevisionByUid(

 string uid,
 string revision,
 string fieldName
)

Visual C++

public:

StringQueryRevisionByUid(
 Stringuid,
 Stringrevision,
 StringfieldName
)

JavaScript

function queryRevisionByUid(uidrevisionfieldName);

Parameters

uid

Type: System.String
unique id of the document

revision

Type: System.String
revision you want to fetch values from

fieldName

Type: System.String
identifier of an existing field in the Document table

Return Value

fetched query value

Remarks

See Also

Database Class

Database Members

MwPDMApi Namespace