Share via


IVsDebugRemoteDiscoveryUI.SelectRemoteInstanceViaDlg Method

Shows the Remote Debugger Discovery dialog, returning the selected computer.

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

Syntax

'Declaration
Function SelectRemoteInstanceViaDlg ( _
    currentTransportQualifier As String, _
    currentPortSupplier As Guid, _
    flags As UInteger, _
    <OutAttribute> ByRef transportQualifier As String, _
    <OutAttribute> ByRef guidPortSupplier As Guid _
) As Integer
int SelectRemoteInstanceViaDlg(
    string currentTransportQualifier,
    Guid currentPortSupplier,
    uint flags,
    out string transportQualifier,
    out Guid guidPortSupplier
)
int SelectRemoteInstanceViaDlg(
    [InAttribute] String^ currentTransportQualifier, 
    [InAttribute] Guid currentPortSupplier, 
    [InAttribute] unsigned int flags, 
    [OutAttribute] String^% transportQualifier, 
    [OutAttribute] Guid% guidPortSupplier
)
abstract SelectRemoteInstanceViaDlg : 
        currentTransportQualifier:string * 
        currentPortSupplier:Guid * 
        flags:uint32 * 
        transportQualifier:string byref * 
        guidPortSupplier:Guid byref -> int
function SelectRemoteInstanceViaDlg(
    currentTransportQualifier : String, 
    currentPortSupplier : Guid, 
    flags : uint, 
    transportQualifier : String, 
    guidPortSupplier : Guid
) : int

Parameters

  • currentTransportQualifier
    Type: System.String

    The current transport qualifier.

  • currentPortSupplier
    Type: System.Guid

    The current port supplier.

  • transportQualifier
    Type: System.String%

    String to pass to the debugger to connect to the selected computer. This is also the string that shows up in the project properties.

  • guidPortSupplier
    Type: System.Guid%

    GUID indicating the transport (port supplier) to use when connecting. Currently this is either Guid.Empty to indicate Windows authentication, or guidNoAuthPortSupplier for no-authentication.

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IVsDebugRemoteDiscoveryUI Interface

Microsoft.VisualStudio.Shell.Interop Namespace