Returns the instance that provides implementation for a registered server.
Namespace: Autodesk.Revit.DB.ExternalServiceAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public IExternalServer GetServer(
Guid serverId
)
Parameters
- serverId Guid
-
Id of a registered server
Return Value
IExternalServer
An instance of the server interface. NULL is returned if the server is invalid (e.g. destroyed)
Exceptions
See Also
Reference