Revit 2025.3 API
External |
Checks whether the name is a valid short name for the external resource server.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public static bool IsValidShortName( Guid serverId, string serverName )
Public Shared Function IsValidShortName ( serverId As Guid, serverName As String ) As Boolean
public: static bool IsValidShortName( Guid serverId, String^ serverName )
static member IsValidShortName : serverId : Guid * serverName : string -> bool
Parameters
- serverId Guid
- The id of the external resource server.
- serverName String
- The short name of the external resource server.
Return Value
BooleanTrue if the name is a valid short name, false otherwise.
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
A valid short name should match the restrictions documented in GetShortName.
See Also