IVsLaunchPad3.ExecCommandWithElevationIfRequired Method

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)

Syntax

'宣言
Function ExecCommandWithElevationIfRequired ( _
    pszApplicationName As String, _
    pszCommandLine As String, _
    pszWorkingDir As String _
) As Integer
'使用
Dim instance As IVsLaunchPad3
Dim pszApplicationName As String
Dim pszCommandLine As String
Dim pszWorkingDir As String
Dim returnValue As Integer

returnValue = instance.ExecCommandWithElevationIfRequired(pszApplicationName, _
    pszCommandLine, pszWorkingDir)
int ExecCommandWithElevationIfRequired(
    string pszApplicationName,
    string pszCommandLine,
    string pszWorkingDir
)
int ExecCommandWithElevationIfRequired(
    [InAttribute] String^ pszApplicationName, 
    [InAttribute] String^ pszCommandLine, 
    [InAttribute] String^ pszWorkingDir
)
function ExecCommandWithElevationIfRequired(
    pszApplicationName : String, 
    pszCommandLine : String, 
    pszWorkingDir : String
) : int

Parameters

Return Value

Type: System.Int32

Permissions

See Also

Reference

IVsLaunchPad3 Interface

IVsLaunchPad3 Members

Microsoft.VisualStudio.Shell.Interop Namespace