Programming Guide |
Unadvertises services from a server
unadvertise {ALL | SERVICEservice
| GROUPserviceGroup
}
ALL
- Unadvertise all advertised services.
SERVICE
service
- Unadvertise
service
. The service name can be up to 15 characters in length.GROUP
serviceGroup
- Unadvertise all services advertised via
serviceGroup
. If services that are contained in a group are advertised individually or through theALL
option, this option has no effect on them and no exception event is raised.
JetNet, Oracle Tuxedo
Server
The
unadvertise
command unadvertises services previously advertised via the advertise command. You can unadvertise individual services, services from a group, or all services. For example, this statement unadvertises all services:unadvertise ALLThe following statement unadvertises service transfer:
unadvertise SERVICE "transfer"The
tp_return
property is set to the number of services successfully unadvertised.
The
unadvertise
command can generate these exceptions:
Exception Severity Cause TP_INVALID_SERVICE TP_COMMAND
SERVICE
is used and the service has not been advertised TP_NO_SERVICES_ADVERTISED TP_WARNING
ALL
is used and no services have been advertised.
advertise