AbstractSessionGetService Method |
Returns the
Service identified by
serviceName.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.22.0.1
Syntax public Service GetService(
string serviceName
)
Public Function GetService (
serviceName As String
) As Service
public:
virtual Service^ GetService(
String^ serviceName
) sealed
abstract GetService :
serviceName : string -> Service
override GetService :
serviceName : string -> Service
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