IServerRegistryServiceRenameServerGroup Method

Renames a server group.

Namespace:  Dundas.BI.Configuration
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
void RenameServerGroup(
	long serverGroupId,
	string newName
)

Parameters

serverGroupId
Type: SystemInt64
The ID of the server group to rename.
newName
Type: SystemString
The new name.
Exceptions
ExceptionCondition
ArgumentExceptionnewName is empty or .
ArgumentOutOfRangeException

newName is longer than MaxNameLength characters.

-or-

serverGroupId is less than or equal to zero.

DuplicateItemExceptionnewName is the name of an existing server group.
NotFoundExceptionA server group with the specified ID does not exist.
NoPrivilegeExceptionThe caller does not have system administration privileges.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also