KSC Open API  13.0
Kaspersky Security Center API description
int ServerHierarchy::RegisterServer ( wstring  wstrDisplName,
int  nGroupId,
binary  pCertificate,
wstring  wstrNetAddress,
params  pAdditionalInfo 
)

Register the new secondary Administration Server for the specified group.

The secondary Administration Server registration requires performing actions on both secondary and primary Administration Servers. This method registers the secondary Administration Server and should be called on the primary Administration Server. Some method parameters are optional, depending on whether the secondary Administration Server is passive or active.
See Secondary Administration Server registration for details.

Parameters:
wstrDisplNamesecondary Administration Server display name.
nGroupIdadministration group id where to locate the secondary Administration Server.
pCertificatesecondary Administration Server certificate, same as used to connect to the secondary Administration Server by Administration Console
wstrNetAddresssecondary Administration Server location in format 'http://server_addr:server_port', e.g. 'http://secondaryserveraddr.local:13000'. Value required only for the passive secondary Administration Server registration, otherwise it should be emtpy.
pAdditionalInfoAdditional information for the secondary Administration Server, optional. Currently only one attribute is supported:
Returns:
secondary Administration Server ID.
See also:
Sample. Creating and destroying a "primary/secondary" relation.