SqlObjectExplorerPackage.IOleCommandTarget.Exec Method
This class supports the product infrastructure and is not intended to be used directly from your code.
Executes the specified command.
Namespace: Microsoft.VisualStudio.Data.Tools.SqlObjectExplorer
Assembly: Microsoft.VisualStudio.Data.Tools.SqlObjectExplorer (in Microsoft.VisualStudio.Data.Tools.SqlObjectExplorer.dll)
Syntax
'Declaration
Private Function Exec ( _
ByRef pguidCmdGroup As Guid, _
cmdId As UInteger, _
cmdExecOpt As UInteger, _
vaIn As IntPtr, _
vaOut As IntPtr _
) As Integer Implements IOleCommandTarget.Exec
'Usage
Dim instance As SqlObjectExplorerPackage
Dim pguidCmdGroup As Guid
Dim cmdId As UInteger
Dim cmdExecOpt As UInteger
Dim vaIn As IntPtr
Dim vaOut As IntPtr
Dim returnValue As Integer
returnValue = CType(instance, IOleCommandTarget).Exec(pguidCmdGroup, _
cmdId, cmdExecOpt, vaIn, vaOut)
int IOleCommandTarget.Exec(
ref Guid pguidCmdGroup,
uint cmdId,
uint cmdExecOpt,
IntPtr vaIn,
IntPtr vaOut
)
private:
virtual int Exec(
Guid% pguidCmdGroup,
unsigned int cmdId,
unsigned int cmdExecOpt,
IntPtr vaIn,
IntPtr vaOut
) sealed = IOleCommandTarget::Exec
private abstract Exec :
pguidCmdGroup:Guid byref *
cmdId:uint32 *
cmdExecOpt:uint32 *
vaIn:IntPtr *
vaOut:IntPtr -> int
private override Exec :
pguidCmdGroup:Guid byref *
cmdId:uint32 *
cmdExecOpt:uint32 *
vaIn:IntPtr *
vaOut:IntPtr -> int
JScript supports the use of explicit interface implementations, but not the declarations of new ones.
Parameters
- pguidCmdGroup
Type: System.Guid
The GUID of the command group.
- cmdId
Type: System.UInt32
The command identifier.
- cmdExecOpt
Type: System.UInt32
Specifies how the object should execute the command.
- vaIn
Type: System.IntPtr
The input arguments of the command.
- vaOut
Type: System.IntPtr
The output arguments of the command.
Return Value
Type: System.Int32
The specified command.
Implements
IOleCommandTargetExec(Guid, UInt32, UInt32, IntPtr, IntPtr)
See Also
Reference
SqlObjectExplorerPackage Class
Microsoft.VisualStudio.Data.Tools.SqlObjectExplorer Namespace