Open this page in the API Guide

IServerRegistryService.CreateServerGroup Method

Creates a server group.

Namespace:  Dundas.BI.Configuration
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
long CreateServerGroup(
	string name
)

Parameters

name
Type: System.String
The server group name.

Return Value

Type: Int64
The ID of the newly-created group, or -1 if a group with the specified name already exists.
Exceptions
ExceptionCondition
ArgumentExceptionname is empty or null.
ArgumentOutOfRangeExceptionname is longer than MaxNameLength characters.
NoPrivilegeExceptionThe caller does not have system administration privileges.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also