GetActiveServerIds Method


Multi Server Service Get Active Server Ids Method

Returns Ids of the currently active application-level servers registered for the service.

Namespace: Autodesk.Revit.DB.ExternalService
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public IList<Guid> GetActiveServerIds()

Return Value

IList Guid
A set of GUIDs of the application-wide active servers; the list may be empty.
Remarks
More than one application-level server can be active at a given time in a multi-server service, but it is possible that no server is active (unless the service is mandatory).
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →