Wypełnij grupę Wszystkie komputery na serwerze programu SMA
Microsoft.SystemCenter.ServiceManagementAutomation.Library.Discovery.PopulateAllComputers (Discovery)
Wypełnia grupę Wszystkie komputery na serwerze programu SMA wszystkimi komputerami, które mają wystąpienia procesów roboczych lub usług sieci Web
Element properties:
Object Discovery Details:
Member Modules:
Source Code:
<Discovery ID="Microsoft.SystemCenter.ServiceManagementAutomation.Library.Discovery.PopulateAllComputers" Target="Microsoft.SystemCenter.ServiceManagementAutomation.Group.AllComputers" Enabled="true" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryRelationship TypeID="SC!Microsoft.SystemCenter.ComputerGroupContainsComputer"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="SC!Microsoft.SystemCenter.GroupPopulator">
<RuleId>$MPElement$</RuleId>
<GroupInstanceId>$MPElement[Name="Microsoft.SystemCenter.ServiceManagementAutomation.Group.AllComputers"]$</GroupInstanceId>
<MembershipRules>
<MembershipRule>
<MonitoringClass>$MPElement[Name="Windows!Microsoft.Windows.Computer"]$</MonitoringClass>
<RelationshipClass>$MPElement[Name="SC!Microsoft.SystemCenter.ComputerGroupContainsComputer"]$</RelationshipClass>
<Expression>
<Contains>
<MonitoringClass>$MPElement[Name="Microsoft.SystemCenter.ServiceManagementAutomation.Server.Worker"]$</MonitoringClass>
</Contains>
</Expression>
</MembershipRule>
<MembershipRule>
<MonitoringClass>$MPElement[Name="Windows!Microsoft.Windows.Computer"]$</MonitoringClass>
<RelationshipClass>$MPElement[Name="SC!Microsoft.SystemCenter.ComputerGroupContainsComputer"]$</RelationshipClass>
<Expression>
<Contains>
<MonitoringClass>$MPElement[Name="Microsoft.SystemCenter.ServiceManagementAutomation.Server.Web"]$</MonitoringClass>
</Contains>
</Expression>
</MembershipRule>
</MembershipRules>
</DataSource>
</Discovery>