RABurri.SQLServer.2005.Mirroring.ComponentGroup.Containment.Discovery (Discovery)

Element properties:

TargetRABurri.SQLServer.2005.Mirroring.ComponentGroup
EnabledTrue
RemotableFalse

Object Discovery Details:

Discovered relationships and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
GroupPolulator DataSource Microsoft.SystemCenter.GroupPopulator Default

Source Code:

<Discovery ID="RABurri.SQLServer.2005.Mirroring.ComponentGroup.Containment.Discovery" Enabled="true" Target="RABurri.SQLServer.2005.Mirroring.ComponentGroup" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryRelationship TypeID="RABurri.SQLServer.2005.Mirror.ComponentGroupContainsDB"/>
<DiscoveryRelationship TypeID="MirroringLibrary!RABurri.SQLServer.Mirror.ComponentGroupContainsDBWitness"/>
</DiscoveryTypes>
<DataSource ID="GroupPolulator" TypeID="SC!Microsoft.SystemCenter.GroupPopulator">
<RuleId>$MPElement$</RuleId>
<GroupInstanceId>$Target/Id$</GroupInstanceId>
<GroupMonitoringClass>$MPElement[Name="RABurri.SQLServer.2005.Mirroring.ComponentGroup"]$</GroupMonitoringClass>
<MembershipRules>
<MembershipRule>
<MonitoringClass>$MPElement[Name="RABurri.SQLServer.2005.MirroredDatabase"]$</MonitoringClass>
<RelationshipClass>$MPElement[Name="RABurri.SQLServer.2005.Mirror.ComponentGroupContainsDB"]$</RelationshipClass>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<Property>$MPElement[Name="MirroringLibrary!RABurri.SQLServer.MirroredDatabase"]/MirroringGUID$</Property>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>$Target/Property[Type="MirroringLibrary!RABurri.SQLServer.Mirroring.ComponentGroup"]/MirroringGUID$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<Property>$MPElement[Name="SQLLibrary!Microsoft.SQLServer.Database"]/DatabaseName$</Property>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>$Target/Property[Type="MirroringLibrary!RABurri.SQLServer.Mirroring.ComponentGroup"]/DatabaseName$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</MembershipRule>
<MembershipRule>
<MonitoringClass>$MPElement[Name="MirroringLibrary!RABurri.SQLServer.MirroredDatabaseWitness"]$</MonitoringClass>
<RelationshipClass>$MPElement[Name="MirroringLibrary!RABurri.SQLServer.Mirror.ComponentGroupContainsDBWitness"]$</RelationshipClass>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<Property>$MPElement[Name="MirroringLibrary!RABurri.SQLServer.MirroredDatabaseWitness"]/MirroringGUID$</Property>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>$Target/Property[Type="MirroringLibrary!RABurri.SQLServer.Mirroring.ComponentGroup"]/MirroringGUID$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<Property>$MPElement[Name="MirroringLibrary!RABurri.SQLServer.MirroredDatabaseWitness"]/DatabaseName$</Property>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>$Target/Property[Type="MirroringLibrary!RABurri.SQLServer.Mirroring.ComponentGroup"]/DatabaseName$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</MembershipRule>
</MembershipRules>
</DataSource>
</Discovery>