Click or drag to resize
AbstractSessionGetService Method
Returns the Service identified by serviceName.

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

Parameters

serviceName
Type: SystemString
The name 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
serviceName must be a fully qualified service name. That is, it must be of the form "//[namespace]/[service-name]". If the specified service is not already open, null is returned.
See Also