Skip to content

ExternalResourceServerUtils.IsValidShortName

Public Class

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.0.0.0 (25.0.0.0)

Syntax

public static bool IsValidShortName(
Guid serverId,
string serverName
)

Parameters

serverIdGuid

The id of the external resource server.

serverNameString

The short name of the external resource server.

Return Value

Boolean
True if the name is a valid short name, false otherwise.

Exceptions

Exception

Condition


ArgumentNullException

A non-optional argument was null


Remarks

A valid short name should match the restrictions documented in GetShortName..