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