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.18.1.1
Syntax public Service GetService(
string uri
)
Public Function GetService (
uri As String
) As Service
public:
virtual Service^ GetService(
String^ uri
) sealed
abstract GetService :
uri : string -> Service
override 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.
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