A Sandcastle Documented Class Library

# IServerRegistryService RenameServerGroup Method

Renames a server group.

Namespace: Dundas.BI.Configuration
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    void RenameServerGroup(
    	long serverGroupId,
    	string newName
    )

    Sub RenameServerGroup (
    	serverGroupId As Long,
    	newName As String
    )

    void RenameServerGroup(
    	long long serverGroupId,
    	String^ newName
    )

    abstract RenameServerGroup :
            serverGroupId : int64 *
            newName : string -> unit

#### Parameters

serverGroupId
  Type: System
  Int64
  The ID of the server group to rename.
newName
  Type: System
  String
  The new name.

Exceptions

Exception | Condition
--- | ---
ArgumentException | newName is empty or .
ArgumentOutOfRangeException | newName is longer than MaxNameLength characters. -or- serverGroupId is less than or equal to zero.
DuplicateItemException | newName is the name of an existing server group.
NotFoundException | A server group with the specified ID does not exist.
NoPrivilegeException | The caller does not have system administration privileges.
InvalidSessionException | The caller context is not associated with a valid session.

See Also

#### Reference

IServerRegistryService Interface
Dundas.BI.Configuration Namespace