ProjectLocation.IsProjectLocationNameUnique
Description:
Verifies that there is no existing ProjectLocation with the given name belonging to the given SiteLocation.
Verifies that there is no existing ProjectLocation with the given name belonging to the given SiteLocation.
-
documentThe document to check.
-
nameThe name to check.
-
siteLocationIdThe ElementId of the SiteLocation which the ProjectLocation belongs to.
Return Value
bool
True if the name is unused (among ProjectLocations). False otherwise.
-
A non-optional argument was NULL