IServerRegistryServiceRegisterServer Method |
Registers a server.
Namespace:
Dundas.BI.Configuration
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (8.0.2.1001)
Syntaxbool RegisterServer(
string name
)
Function RegisterServer (
name As String
) As Boolean
bool RegisterServer(
String^ name
)
abstract RegisterServer :
name : string -> bool
Parameters
- name
- Type: SystemString
The server name.
Return Value
Type:
Boolean if the specified server name is already registered; otherwise,
.
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