.NET Framework Class Library
Database.ExecSQL Method

<< Click to Display Table of Contents >>

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

.NET Framework Class Library
Database.ExecSQL Method

Executes an SQL command passed by a string

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

Syntax

Visual Basic

Public Function ExecSQL ( _

sqlCmd As String _
) As ShellResult

C#

public ShellResult ExecSQL(

string sqlCmd
)

Visual C++

public:

ShellResult^ ExecSQL(
String^ sqlCmd
)

JavaScript

function execSQL(sqlCmd);

Parameters

sqlCmd

Type: System.String
sql command

Return Value

an instance of ShellResult, to check result data

Remarks

See Also

Database Class

Database Members

MwPDMApi Namespace