SQL Server Service Pack

Report.SQLServer.2016.SQLServerServicepackReport (LinkedReport)

自訂組態報表的 SQL Server Service Pack 報表

Knowledge Base article:

摘要

這份報表如何運作?

SQL Server Service Pack 報表會顯示這些探索到的屬性::

如果提供的物件為 SQL 資料庫引擎類型,此報表就會尋找資料。

此報表會以矩陣詳細列出所有搜尋到的屬性。

如何使用這份報表?

從報表空間執行時::

搜尋結果中的第二欄會指出所顯示的物件屬於何種類型。請確定選取類型為 SQL 資料庫引擎的物件。

從監視空間執行時:

選擇「SQL 資料庫引擎」類型,以建立狀態檢視或效能檢視。

提供哪些參數?

日期/時間選項:可選擇相對或固定的日期、時間範圍及時區。

物件:可新增物件以執行此報表

Element properties:

BaseMicrosoft.SystemCenter.DataWarehouse.Report.CustomConfiguration
TargetMicrosoft.SQLServer.2016.DBEngine
AccessibilityPublic
VisibleTrue

Source Code:

<LinkedReport ID="Report.SQLServer.2016.SQLServerServicepackReport" Target="SQL2016Core!Microsoft.SQLServer.2016.DBEngine" Accessibility="Public" Visible="true" Base="ReportLibrary!Microsoft.SystemCenter.DataWarehouse.Report.CustomConfiguration">
<ParameterBlock xmlns="http://schemas.microsoft.com/mom/reporting/2007/ReportParameterSettings" columns="4">
<Controls>
<Control columnSpan="1" type="Microsoft.SystemCenter.DataWarehouse.Report.ParameterControl.RelativeDateTimePicker">
<ReportParameters>
<ReportParameter name="TimeZone" binding="TimeZone">
<Prompt>Microsoft.SystemCenter.DataWarehouse.Report.Library!Microsoft.SystemCenter.DataWarehouse.Report.ParameterPrompt.TimeZone</Prompt>
</ReportParameter>
<ReportParameter name="TimeZoneName" binding="TimeZoneName"/>
<ReportParameter name="StartDate_BaseType" binding="StartDate_BaseType"/>
<ReportParameter name="StartDate_BaseValue" binding="StartDate_BaseValue">
<Prompt>Microsoft.SystemCenter.DataWarehouse.Report.Library!Microsoft.SystemCenter.DataWarehouse.Report.ParameterPrompt.StartDateTime</Prompt>
</ReportParameter>
<ReportParameter name="StartDate_OffsetType" binding="StartDate_OffsetType"/>
<ReportParameter name="StartDate_OffsetValue" binding="StartDate_OffsetValue"/>
<ReportParameter name="EndDate_BaseType" binding="EndDate_BaseType"/>
<ReportParameter name="EndDate_BaseValue" binding="EndDate_BaseValue">
<Prompt>Microsoft.SystemCenter.DataWarehouse.Report.Library!Microsoft.SystemCenter.DataWarehouse.Report.ParameterPrompt.EndDateTime</Prompt>
</ReportParameter>
<ReportParameter name="EndDate_OffsetType" binding="EndDate_OffsetType"/>
<ReportParameter name="EndDate_OffsetValue" binding="EndDate_OffsetValue"/>
</ReportParameters>
</Control>
<Control columnSpan="2" rowSpan="2" type="Microsoft.SystemCenter.DataWarehouse.Report.ParameterControl.MonitoringObjectXmlPicker">
<ReportParameters>
<ReportParameter name="ObjectList">
<Prompt>Microsoft.SystemCenter.DataWarehouse.Report.Library!Microsoft.SystemCenter.DataWarehouse.Report.ParameterPrompt.ObjectList</Prompt>
</ReportParameter>
<ReportParameter name="ManagementGroupId" binding="GroupList"/>
</ReportParameters>
<Properties>
<Property name="ContextObjectBinding">
<Value>Containment</Value>
</Property>
<Property name="TypeFilter">
<Value>Microsoft.SQLServer.2016.DBEngine</Value>
</Property>
</Properties>
</Control>
</Controls>
</ParameterBlock>
<Parameters>
<Parameter Name="Properties">
<Value>
&lt;Data&gt;
&lt;Columns&gt;
&lt;Column Visible ="true"&gt;
&lt;ID&gt;$MPElement[Name="SQL2016Core!Microsoft.SQLServer.2016.DBEngine"]/Version$&lt;/ID&gt;
&lt;/Column&gt;
&lt;Column Visible ="true"&gt;
&lt;ID&gt;$MPElement[Name="SQL2016Core!Microsoft.SQLServer.2016.DBEngine"]/ServicePackVersion$&lt;/ID&gt;
&lt;/Column&gt;
&lt;/Columns&gt;
&lt;/Data&gt;
</Value>
</Parameter>
</Parameters>
</LinkedReport>