![]() | Programming Guide | ![]() |
Unadvertises services from a server
unadvertise {ALL | SERVICEservice| GROUPserviceGroup}
ALL- Unadvertise all advertised services.
SERVICEservice- Unadvertise
service. The service name can be up to 15 characters in length.GROUPserviceGroup- Unadvertise all services advertised via
serviceGroup. If services that are contained in a group are advertised individually or through theALLoption, this option has no effect on them and no exception event is raised.
JetNet, Oracle Tuxedo
Server
The
unadvertisecommand 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_returnproperty is set to the number of services successfully unadvertised.
The
unadvertisecommand can generate these exceptions:
Exception Severity Cause TP_INVALID_SERVICE TP_COMMAND
SERVICEis used and the service has not been advertised TP_NO_SERVICES_ADVERTISED TP_WARNING
ALLis used and no services have been advertised.
advertise
![]()
![]()
![]()
![]()