Click or drag to resize
ProviderSessionDeregisterService Method
Deregisters the service identified by serviceName

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

Parameters

serviceName
Type: SystemString

Return Value

Type: Boolean

Implements

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