2021 Class
Changes 7
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 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 SetActiveServers(IList<Guid>) None Changes the active servers and/or their order.
M SetActiveServers(IList<Guid>, Document) None Changes the active servers and/or their order for the given document.
M AddServer(IExternalServer) None Registers a server with its service. ExternalService
M Dispose() None Releases all resources used by the ExternalService
M GetDefaultServerId() Guid Returns the Id of the default server if one was assigned to the service. ExternalService
M GetOptions() ExternalServiceOptions A copy of the options the service was registered with. ExternalService
M GetPublicAccessKey() Guid Access key to use to execute a service. ExternalService
M GetRegisteredServerIds() IList<Guid> Returns Ids of all servers registered for the service. ExternalService
M GetServer(Guid) IExternalServer Returns the instance that provides implementation for a registered server. ExternalService
M IsRegisteredServerId(Guid) bool Checks if the Id represents a valid server that has been registered for the service. ExternalService
M RemoveServer(Guid) None Removes/unregisters a server from the service. ExternalService
Name Return Type Description Inherited From
P ExecutionPolicy ExecutionPolicy Specifies how a multi-server service executes servers during its execution.
P Description string The description for the service ExternalService
P IsSerializable bool Indicates whether executions of the service requires serialization in documents or not. ExternalService
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity. ExternalService
P Name string The name of the service ExternalService
P NumberOfServers int Indicates the number of servers currently registered with the service. ExternalService
P ServiceId ExternalServiceId The Id of the service ExternalService
P VendorId string The vendor who provided the service ExternalService