.NET Framework Class Library
Database.QueryByUid Method

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > .NET API > MwPDMApi Namespace > Database Class > Database Methods >

.NET Framework Class Library
Database.QueryByUid Method

Given the identifier of a DBworks document, it fetches from the DOCUMENT table of the MW 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 QueryByUid ( _

uid As String, _
fieldName As String _
) As String

C#

public string QueryByUid(

string uid,
string fieldName
)

Visual C++

public:

String^ QueryByUid(
String^ uid,
String^ fieldName
)

JavaScript

function queryByUid(uid, fieldName);

Parameters

uid

Type: System.String
unique id of the document

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