.NET Framework Class Library
Database.WhereUsed Method

<< Click to Display Table of Contents >>

Navigation:  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:

StringWhereUsed(
 StringdocUid,
 DocType whereUsedType,
 String^% lastDocUid,
 intnumber_of_Doc,
 Object^% docsUidIdArray
)

JavaScript

function whereUsed(docUidwhereUsedTypelastDocUidnumber_of_DocdocsUidIdArray);

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