.NET Framework Class Library
Browser.LoadQueryByFileName Method
|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > .NET API > MwPDMApi Namespace > Browser Class > Browser Methods > .NET Framework Class Library |
Activates the Query page and loads and executes the query contained in the assigned file. The path of the file must be complete.
Namespace: MwPDMApi
Assembly: MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Visual Basic |
|---|
Public Sub LoadQueryByFileName ( _ sqlFileName As String, _ |
C# |
|---|
public void LoadQueryByFileName( string sqlFileName, |
Visual C++ |
|---|
public: void LoadQueryByFileName( |
JavaScript |
|---|
function loadQueryByFileName(sqlFileName, queryTypeString, applyToDBWFeatureManager); |
Parameters
sqlFileName
Type: System.String
sql file name
queryTypeString (Optional)
Type: System.String
Optional. The type of query to perform (one of "WORKINGSET", "SELECTION", "FILTER")
applyToDBWFeatureManager (Optional)
Type: System.Boolean
Optional. TRUE, the result of the FILTER query will be applied to the DBW Feature Manager search grid of the active CAD document, FALSE otherwise (used if queryTypeString is specified)
Remarks
See Also