Implement this method to return the id of the service.
Namespace: Autodesk.Revit.DB.ExternalService
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
C#
ExternalServiceId GetServiceId()
Return Value
ExternalServiceIdThe id of the service to which the server belongs.