.NET Framework Class Library
Database.WhereUsed Method

<< Click to Display Table of Contents >>

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

.NET Framework Class Library
Database.WhereUsed Method

Returns the documents where the current one is used.

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

Syntax

Visual Basic

Public Function WhereUsed ( _

docUid As String, _
whereUsedType As DocType, _
ByRef lastDocUid As String, _
ByRef number_of_Doc As Integer, _
ByRef docsUidIdArray As Object _
) As String

C#

public string WhereUsed(

string docUid,
DocType whereUsedType,
ref string lastDocUid,
ref int number_of_Doc,
ref Object docsUidIdArray
)

Visual C++

public:

String^ WhereUsed(
String^ docUid,
DocType whereUsedType,
String^% lastDocUid,
int% number_of_Doc,
Object^% docsUidIdArray
)

JavaScript

function whereUsed(docUid, whereUsedType, lastDocUid, number_of_Doc, docsUidIdArray);

Parameters

docUid

Type: System.String
unique id of the document of which find users

whereUsedType

Type: MwPDMApi.DocType
filter to select only specified document type

lastDocUid

Type: System.String
Output. The last document found Uinque ID

number_of_Doc

Type: System.Int32
Output. The number of found documents

docsUidIdArray

Type: System.Object
Output. The array containing the Unique ids of found documents

Return Value

Remarks

See Also

Database Class

Database Members

MwPDMApi Namespace