Bloomberg API for .NET
DeregisterService Method (uri)
NamespacesBloomberglp.BlpapiProviderSessionDeregisterService(String)
Deregisters the service identified by the specified 'uri'.
Declaration Syntax
C#Visual BasicVisual C++
public bool DeregisterService(
	string uri
)
Public Function DeregisterService ( 
	uri As String
) As Boolean
public:
bool DeregisterService(
	String^ uri
)
Parameters
uri (String)
Return Value
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.

Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.7.4.1