.NET Framework Class Library
Database.WhereUsedByString Method

<< Click to Display Table of Contents >>

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

.NET Framework Class Library
Database.WhereUsedByString 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 WhereUsedByString ( _

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

C#

public string WhereUsedByString(

string docUid,
string whereUsedString,
ref string lastDocUid,
ref int number_of_Doc,
ref Object docsUidIdArray
)

Visual C++

public:

String^ WhereUsedByString(
String^ docUid,
String^ whereUsedString,
String^% lastDocUid,
int% number_of_Doc,
Object^% docsUidIdArray
)

JavaScript

function whereUsedByString(docUid, whereUsedString, lastDocUid, number_of_Doc, docsUidIdArray);

Parameters

docUid

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

whereUsedString

Type: System.String
filter to select only some type of document between the users (like "'0','P'")

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