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.15.0.1
Syntax public Service GetService(
string uri
)
Public Function GetService (
uri As String
) As Service
public:
Service^ GetService(
String^ uri
)
member GetService :
uri : string -> Service
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.
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