CAPL Script

SDUnannounceProvider

This reference collection includes Vector documentation reproduced with permission. Snippets may require configuration-specific symbols and are not all standalone programs. Sources and validation limits.

Syntax

long SD_UnannounceProvider(serviceProviderRef * provider)

Function

Announces over the network that a service provider is no longer running. This may be necessary for some bindings where a central service registry is used. Note that the service provider will be unannounced automatically if you callReleaseServiceon the endpoint.

Parameters

provider Provider endpoint.

Return Values

0: Success

1: Provider endpoint is not simulated

< 0: Other error

SD_UnannounceProvider(myProvider);

SD_AnnounceProvider