Click or drag to resize
IProviderSessionDeregisterService Method
Deregisters a service.

The identity in the service registration is reused to verify permissions for deregistration. If the service is in pending registration, cancels the pending registration. If the service is registered, sends a deregistration request; generates 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 REQUEST_STATUS events containing a RequestFailure message for each pending incoming request; and generates a SERVICE_STATUS event containing a ServiceDeregistered message. All published events on topics created on this service will be ignored after this method returns.

Namespace:  Bloomberglp.Blpapi
Assembly:  Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.8.1
Syntax
bool DeregisterService(
	string serviceName
)

Parameters

serviceName
Type: SystemString
The name of the service to be deregistered.

Return Value

Type: Boolean
If the service is not registered nor in pending registration, returns false; returns true otherwise.
See Also