MultiServerService Class

This class represents a multi-server service inside Revit application. It is created when an instance of IMultiServerService is registered with Revit.
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.DB.ExternalServiceExternalService
    Autodesk.Revit.DB.ExternalServiceMultiServerService

Namespace: Autodesk.Revit.DB.ExternalService
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class MultiServerService : ExternalService

The MultiServerService type exposes the following members.

Properties
 NameDescription
Public propertyDescription The description for the service
(Inherited from ExternalService)
Public propertyExecutionPolicy Specifies how a multi-server service executes servers during its execution.
Public propertyIsSerializable Indicates whether executions of the service requires serialization in documents or not.
(Inherited from ExternalService)
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
(Inherited from ExternalService)
Public propertyName The name of the service
(Inherited from ExternalService)
Public propertyNumberOfServers Indicates the number of servers currently registered with the service.
(Inherited from ExternalService)
Public propertyServiceId The Id of the service
(Inherited from ExternalService)
Public propertySupportActivation Indicates if the service supports activation/deactivation of the servers.
(Inherited from ExternalService)
Public propertyVendorId The vendor who provided the service
(Inherited from ExternalService)
Top
Methods
 NameDescription
Public methodAddServer Registers a server with its service.
(Inherited from ExternalService)
Public methodDispose
(Inherited from ExternalService)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetActiveServerIds Returns Ids of the currently active application-level servers registered for the service.
Public methodGetActiveServerIds(Document) Returns Ids of the servers currently applicable to the given document for the service.
Public methodGetDefaultServerId Returns the Id of the default server if one was assigned to the service.
(Inherited from ExternalService)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetOptions A copy of the options the service was registered with.
(Inherited from ExternalService)
Public methodGetPublicAccessKey Access key to use to execute a service.
(Inherited from ExternalService)
Public methodGetRegisteredServerIds Returns Ids of all servers registered for the service.
(Inherited from ExternalService)
Public methodGetServer Returns the instance that provides implementation for a registered server.
(Inherited from ExternalService)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIsRegisteredServerId Checks if the Id represents a valid server that has been registered for the service.
(Inherited from ExternalService)
Public methodRemoveServer Removes/unregisters a server from the service.
(Inherited from ExternalService)
Public methodSetActiveServers(IListGuid) Changes the active servers and/or their order.
Public methodSetActiveServers(IListGuid, Document) Changes the active servers and/or their order for the given document.
Public methodSetServerState This method will simply switch the active state of a server without affecting in any way the other servers.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also