|
RspAdUaRelation::RelationRemove |
( |
wstring |
wstrUaHostId, |
|
|
wstring |
wstrAdDomain |
|
) |
| |
Remove relation.
Removes the relation added by the KlXdroRspAdUaData::RelationAdd method
To list existing relations use SrvView Relation between Active Directory domain controllers and Update Agents
- Parameters:
-
wstrUaHostId | GUID host name of the UA or empty string for Administration Server's Network Agent |
wstrAdDomain | Active Directory domain name in lowercase FQDN format, e.g. "mycompany.com" |
- Note:
- if wstrUaHostId is empty then current session must target the physical server otherwise exception STDE_NOTPERM is thrown.
- Exceptions:
-
STDE_NOTPERM | Operation is prohibited (e.g. wstrUaHostId does not have UA role, or an attempt to access physical server in context of virtual one, or this feature is disabled) |
|