Removes a location from the 'database' if the location is unused, otherwise throws an exception.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual void RemoveLocation( string locationName )
Public Overridable Sub RemoveLocation ( _ locationName As String _ )
public: virtual void RemoveLocation( String^ locationName )
Parameters
- locationName (String)
Remarks
Throws an InvalidOperationException if the location is currently assigned to a document.