IVsLaunchPad3.ExecCommandWithElevationIfRequired Method
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)
Syntax
'Declaration
Function ExecCommandWithElevationIfRequired ( _
pszApplicationName As String, _
pszCommandLine As String, _
pszWorkingDir As String _
) As Integer
int ExecCommandWithElevationIfRequired(
string pszApplicationName,
string pszCommandLine,
string pszWorkingDir
)
int ExecCommandWithElevationIfRequired(
[InAttribute] String^ pszApplicationName,
[InAttribute] String^ pszCommandLine,
[InAttribute] String^ pszWorkingDir
)
abstract ExecCommandWithElevationIfRequired :
pszApplicationName:string *
pszCommandLine:string *
pszWorkingDir:string -> int
function ExecCommandWithElevationIfRequired(
pszApplicationName : String,
pszCommandLine : String,
pszWorkingDir : String
) : int
Parameters
- pszApplicationName
Type: System.String
- pszCommandLine
Type: System.String
- pszWorkingDir
Type: System.String
Return Value
Type: System.Int32
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.