Revit 2016 API |
ServerPath Constructor |
ServerPath Class See Also |
Constructs a ServerPath
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 16.0.0.0 (16.0.0.0)
Since:
2012
Syntax
C# |
---|
public ServerPath( string centralServerLocation, string path ) |
Visual Basic |
---|
Public Sub New ( _ centralServerLocation As String, _ path As String _ ) |
Visual C++ |
---|
public: ServerPath( String^ centralServerLocation, String^ path ) |
Parameters
- centralServerLocation
- Type: System..::..String
The name of the central Revit server
- path
- Type: System..::..String
The path of the model. This path must be relative.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was NULL |