Gets the protocol that is defined for the endpoint.
public:
utility::string_t GetProtocol()
Type: utility::string_tÂ
The protocol value that is defined for the endpoint.
Internal endpoints can have a protocol of http and tcp. External endpoints can have a protocol of http, https, and tcp. The endpoints that use the http and https protocols are preconfigured to listen by using http.sys while the endpoints that use the tcp protocol are not. The protocol of an endpoint is defined in the ServiceDefinition.csdef file.
Header: Declared in ServiceDefinition.h.
Library: Use GSDK110.lib (VS 2012) or GSDK100.lib (VS 2010).