Click or drag to resize
ProviderSessionDeregisterService Method
Deregisters the service identified by the specified 'uri'.

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

Parameters

uri
Type: SystemString

Return Value

Type: Boolean
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