RVTDocs.com

ExternalServiceRegistry.GetService

Method
Description:
Returns an instance of an object that represents the external service with the given Id.
Remarks:
The returned instance is either of type SingleServerService or MultiServerService. Users should cast the returned object to one of the classes if they need access to active servers.
Syntax
public static ExternalService GetService(
	ExternalServiceId serviceId
)
Parameters
Parameter Type Description
serviceId ExternalServiceId Id of the service.
Return Value
Type Description
ExternalService The instance of the service or NULL if it cannot be found.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null