ProviderSessionDeregisterService Method |
Deregisters the service identified by serviceName
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.9.1
Syntax public bool DeregisterService(
string serviceName
)
Public Function DeregisterService (
serviceName As String
) As Boolean
public:
virtual bool DeregisterService(
String^ serviceName
) sealed
abstract DeregisterService :
serviceName : string -> bool
override DeregisterService :
serviceName : string -> bool
Parameters
- serviceName
- Type: SystemString
Return Value
Type:
BooleanImplements
IProviderSessionDeregisterService(String)Remarks
The identity in the service registration is reused to verify
permissions for deregistration. If the service is not registered
nor in pending registration, returns false; returns true
otherwise. If the service is in pending registration, cancels the
pending registration. If the service is registered, sends a
deregistration request; generates
EventType.TOPIC_STATUS events containing a
TopicUnsubscribed message for each subscribed topic, a
TopicDeactivated message for each active topic and a TopicDeleted
for each created topic; generates
EventType.REQUEST_STATUS events containing
a RequestFailure message for each pending incoming request; and
generates a
EventType.SERVICE_STATUS Event containing a
ServiceDeregistered message. All published events on topics
created on this service will be ignored after this method returns.
See Also