Share via


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

See Also

Reference

IDiscoveryResult3 Interface

Microsoft.VisualStudio.WCFReference.Interop Namespace