Checks whether the name is a valid short name for the external resource server.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public static bool IsValidShortName(
Guid serverId,
string serverName
)
Parameters
- serverId Guid
-
The id of the external resource server.
- serverName String
-
The short name of the external resource server.
Return Value
Boolean
True if the name is a valid short name, false otherwise.
Exceptions
Remarks
A valid short name should match the restrictions documented in
GetShortName().
See Also
Reference