2026 Class
Changes 2
C

MultiServerService

Description:
This class represents a multi-server service inside Revit application. It is created when an instance of IMultiServerService is registered with Revit.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.ExternalService.ExternalService
    Autodesk.Revit.DB.ExternalService.MultiServerService
Name Return Type Description Inherited From
M AddServer(IExternalServer) None Registers a server with its service. (Inherited from ExternalService ) ExternalService
M Dispose() None (Inherited from ExternalService ) ExternalService
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetActiveServerIds() IList<Guid> Returns Ids of the currently active application-level servers registered for the service.
M GetActiveServerIds(Document) IList<Guid> Returns Ids of the servers currently applicable to the given document for the service.
M GetDefaultServerId() Guid Returns the Id of the default server if one was assigned to the service. (Inherited from ExternalService ) ExternalService
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetOptions() ExternalServiceOptions A copy of the options the service was registered with. (Inherited from ExternalService ) ExternalService
M GetPublicAccessKey() Guid Access key to use to execute a service. (Inherited from ExternalService ) ExternalService
M GetRegisteredServerIds() IList<Guid> Returns Ids of all servers registered for the service. (Inherited from ExternalService ) ExternalService
M GetServer(Guid) IExternalServer Returns the instance that provides implementation for a registered server. (Inherited from ExternalService ) ExternalService
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M IsRegisteredServerId(Guid) Boolean Checks if the Id represents a valid server that has been registered for the service. (Inherited from ExternalService ) ExternalService
M RemoveServer(Guid) None Removes/unregisters a server from the service. (Inherited from ExternalService ) ExternalService
M SetActiveServers(IList<Guid>) None
M SetActiveServers(IList<Guid>, Document) None
M SetServerState(Guid, Document, Boolean) Boolean This method will simply switch the active state of a server without affecting in any way the other servers.
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P Description string The description for the service (Inherited from ExternalService ) ExternalService
P ExecutionPolicy ExecutionPolicy Specifies how a multi-server service executes servers during its execution.
P IsSerializable bool Indicates whether executions of the service requires serialization in documents or not. (Inherited from ExternalService ) ExternalService
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity. (Inherited from ExternalService ) ExternalService
P Name string The name of the service (Inherited from ExternalService ) ExternalService
P NumberOfServers int Indicates the number of servers currently registered with the service. (Inherited from ExternalService ) ExternalService
P ServiceId ExternalServiceId The Id of the service (Inherited from ExternalService ) ExternalService
P SupportActivation bool Indicates if the service supports activation/deactivation of the servers. (Inherited from ExternalService ) ExternalService
P VendorId string The vendor who provided the service (Inherited from ExternalService ) ExternalService