Share via


SqlObjectExplorerPackage.IOleCommandTarget.Exec Method (Guid, UInt32, UInt32, IntPtr, IntPtr)

 

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

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:nativeint *
        vaOut:nativeint -> int
private override Exec : 
        pguidCmdGroup:Guid byref *
        cmdId:uint32 *
        cmdExecOpt:uint32 *
        vaIn:nativeint *
        vaOut:nativeint -> int
Private Function Exec (
    ByRef pguidCmdGroup As Guid,
    cmdId As UInteger,
    cmdExecOpt As UInteger,
    vaIn As IntPtr,
    vaOut As IntPtr
) As Integer
    Implements IOleCommandTarget.Exec

Parameters

  • pguidCmdGroup
    Type: System.Guid

    The GUID of the command group.

  • cmdExecOpt
    Type: System.UInt32

    Specifies how the object should execute the command.

Return Value

Type: System.Int32

The specified command.

Implements

IOleCommandTarget.Exec(Guid, UInt32, UInt32, IntPtr, IntPtr)

See Also

SqlObjectExplorerPackage Class
Microsoft.VisualStudio.Data.Tools.SqlObjectExplorer Namespace

Return to top