探索資料庫引擎的鏡像資料庫

Microsoft.SQLServer.2012.Mirroring.DatabaseDiscovery (Discovery)

此物件探索會探索為指定的 SQL Server 2012 資料庫引擎執行個體,所執行的所有鏡像資料庫。預設會探索及監視所有鏡像資料庫。您可以使用排除清單來覆寫探索,以排除掉一或多個不要探索的資料庫。此清單採用以逗號分隔的資料庫名稱清單,或以 * 字元排除所有資料庫。

Knowledge Base article:

摘要

此物件探索會探索為指定的 SQL Server 2012 資料庫引擎執行個體,所執行的所有鏡像資料庫。預設會探索及監視所有鏡像資料庫。您可以使用排除清單來覆寫探索,以排除掉一或多個不要探索的資料庫。此清單採用以逗號分隔的資料庫名稱清單,或以 * 字元排除所有資料庫。

組態

排除清單:要從探索中排除的資料庫執行個體清單 (以逗號分隔)。您可以使用萬用字元 * 來排除所有執行個體。

Element properties:

TargetMicrosoft.SQLServer.2012.DBEngine
EnabledTrue
Frequency14400
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:
Discovered relationships and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SQLServer.2012.Mirroring.DatabaseDiscoveryProvider Default

Source Code:

<Discovery ID="Microsoft.SQLServer.2012.Mirroring.DatabaseDiscovery" Enabled="true" Target="SQL2012Core!Microsoft.SQLServer.2012.DBEngine">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.SQLServer.2012.Mirroring.Database">
<Property TypeID="Microsoft.SQLServer.2012.Mirroring.Database" PropertyID="MirroringGUID"/>
<Property TypeID="Microsoft.SQLServer.2012.Mirroring.Database" PropertyID="MirroringRole"/>
<Property TypeID="Microsoft.SQLServer.2012.Mirroring.Database" PropertyID="Level"/>
<Property TypeID="Microsoft.SQLServer.2012.Mirroring.Database" PropertyID="Partner"/>
<Property TypeID="Microsoft.SQLServer.2012.Mirroring.Database" PropertyID="Witness"/>
</DiscoveryClass>
<DiscoveryClass TypeID="Microsoft.SQLServer.2012.Mirroring.Group">
<Property TypeID="Microsoft.SQLServer.2012.Mirroring.Group" PropertyID="MirroringGUID"/>
</DiscoveryClass>
<DiscoveryRelationship TypeID="Microsoft.SQLServer.2012.Mirroring.GroupContainsDatabase"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.2012.Mirroring.DatabaseDiscoveryProvider">
<IntervalSeconds>14400</IntervalSeconds>
<SyncTime/>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<SQLConnectionString>$Target/Property[Type="SQL!Microsoft.SQLServer.DBEngine"]/ConnectionString$</SQLConnectionString>
<SQLInstanceName>$Target/Property[Type="SQL!Microsoft.SQLServer.ServerRole"]/InstanceName$</SQLInstanceName>
<ExcludeList/>
<TimeoutSeconds>300</TimeoutSeconds>
</DataSource>
</Discovery>