IServerRegistryServiceCreateServerGroup Method |
Creates a server group.
Namespace:
Dundas.BI.Configuration
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (8.0.2.1001)
Syntaxlong CreateServerGroup(
string name
)
Function CreateServerGroup (
name As String
) As Long
long long CreateServerGroup(
String^ name
)
abstract CreateServerGroup :
name : string -> int64
Parameters
- name
- Type: SystemString
The server group name.
Return Value
Type:
Int64The ID of the newly-created group, or
-1 if a group with the specified name already exists.
Exceptions| Exception | Condition |
|---|
| ArgumentException | name is empty or . |
| ArgumentOutOfRangeException | name is longer than MaxNameLength characters. |
| NoPrivilegeException | The caller does not have system administration privileges. |
| InvalidSessionException | The caller context is not associated with a valid session. |
See Also