IDiscoveryResult3.GetProtocol Method
Returns a value that specifies which DiscoveryProtocol was used in a discovery session.
Namespace: Microsoft.VisualStudio.WCFReference.Interop
Assembly: Microsoft.VisualStudio.WCFReference.Interop (in Microsoft.VisualStudio.WCFReference.Interop.dll)
Syntax
'Declaration
Function GetProtocol As DiscoveryProtocol
DiscoveryProtocol GetProtocol()
DiscoveryProtocol GetProtocol()
abstract GetProtocol : unit -> DiscoveryProtocol
function GetProtocol() : DiscoveryProtocol
Return Value
Type: Microsoft.VisualStudio.WCFReference.Interop.DiscoveryProtocol
A DiscoveryProtocol enumeration
.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.