.NET Framework Class Library
Database.GetLinks Method
|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > .NET API > MwPDMApi Namespace > Database Class > Database Methods > .NET Framework Class Library |
Retrieves unique id of parents/children documents related to the current one.
Namespace: MwPDMApi
Assembly: MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Visual Basic |
|---|
Public Function GetLinks ( _ uid As String, _ |
C# |
|---|
public int GetLinks( string uid, |
Visual C++ |
|---|
public: int GetLinks( |
JavaScript |
|---|
function getLinks(uid, linkList, linkType, optionalQueryFilter); |
Parameters
uid
Type: System.String
unique id of the document
linkList
Type: System.Object
Output. The array containing the unique ids of the documents found.
linkType
Type: System.Boolean
if TRUE look for parents, otherwise for children
optionalQueryFilter
Type: System.String
optional filter to apply in the search. It must be in sql standard syntax.
Return Value
number of linked documents found
Remarks
See Also