Exports a service, using the default lookup name for the specified service.

C# | Visual Basic | Visual C++ | J# |
IServiceRegistration Publish( Object service )
Function Publish ( _ service As Object _ ) As IServiceRegistration
IServiceRegistration^ Publish( Object^ service )
IServiceRegistration Publish( Object service )

- service (Object)
- Service to export.

Service registration.