GetDBServerId Method


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: 2015.0.0.0 (2015.0.0.0)
Since: 2015

Syntax

C#
Guid GetDBServerId()
Visual Basic
Function GetDBServerId As Guid
Visual C++
Guid GetDBServerId()

Return Value

The id of the associated DB server.

Remarks

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

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →