Click or drag to resize
AbstractSessionGetService Method
Returns a handle to a Service object representing the service identified by the specified uri.

Namespace:  Bloomberglp.Blpapi
Assembly:  Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.16.0.1
Syntax
public Service GetService(
	string uri
)

Parameters

uri
Type: SystemString
URI of the service that is to be opened.

Return Value

Type: Service
A handle to the service if it is already open; null otherwise.

Implements

IAbstractSessionGetService(String)
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.
See Also