SMS_ReplicationLinkSummary Server WMI Class - Status values
Site status = 125 means active. You can use SQL Function to get result, like:
SELECT dbo.fnGetSiteStatusFriendlyName(125)
The property LinkStatus is overall replication link status. 2 means Active. Any value other than 2 is not good.