IVsDebuggableProtocol.RemoveDebuggableProtocol Method
Removes the indicated protocol from the list.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaración
Function RemoveDebuggableProtocol ( _
bstrProtocol As String _
) As Integer
'Uso
Dim instance As IVsDebuggableProtocol
Dim bstrProtocol As String
Dim returnValue As Integer
returnValue = instance.RemoveDebuggableProtocol(bstrProtocol)
int RemoveDebuggableProtocol(
string bstrProtocol
)
int RemoveDebuggableProtocol(
[InAttribute] String^ bstrProtocol
)
abstract RemoveDebuggableProtocol :
bstrProtocol:string -> int
function RemoveDebuggableProtocol(
bstrProtocol : String
) : int
Parameters
- bstrProtocol
Type: System.String
[in]
Return Value
Type: System.Int32
Returns S_OK if removal is successful; returns S_FALSE if removal is unsuccessful (for example, if the protocol is not in the list).
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsDebuggableProtocol::RemoveDebuggableProtocol(
[in] LPOLESTR bstrProtocol
);
.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.