Is this what controls the message in XProtect Management Client for “Connected” to Access Control? If not, what does?
ServerItem si = _system.ConfigurationManager.LookupItem(_system.ConfigurationManager._serverId);
si.Connected = true;
_system.StateManager.SetServerOnline(si);
I assume you are referring to the “Connection Status” column in the access control overview section of the Management Client. This is controlled by the built-in statetypes ACBuiltInStateTypeCategories.ServerStatusConnectionNotConnected
and ACBuiltInStateTypeCategories.ServerStatusConnectionConnected. Setting one of these categories on the ACServer item state will impact the “Connection Status”. Setting the built-in state property ACBuiltInStateProperties.ServerStatusConnectionMessage
determines the “Connection Information” text.