Revit 2025 API
IExternal |
Implement this method to return the id of the server which is associated with this UI server.
Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
Guid GetDBServerId()
Function GetDBServerId As Guid
Guid GetDBServerId()
abstract GetDBServerId : unit -> Guid
Return Value
GuidThe id of the associated DB server.

If there's no DB server associated with this UI server, an empty GUID value will be returned.
See Also