Bloomberg API for .NET
GetService Method (uri)
NamespacesBloomberglp.BlpapiAbstractSessionGetService(String)
Returns a handle to a Service object representing the service identified by the specified uri.
Declaration Syntax
C#Visual BasicVisual C++
public Service GetService(
	string uri
)
Public Function GetService ( 
	uri As String
) As Service
public:
Service^ GetService(
	String^ uri
)
Parameters
uri (String)
URI of the service that is to be opened.
Return Value
Service
A handle to the service if it is already open; null otherwise.
Remarks
The uri must contain a fully qualified service name. That is, it must be of the form "//[namespace]/[service-name]". If the specified service is not already open, a null handle is returned.

Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.8.10.1