Configurazione di SQL Server

Report.SQLServer.2008.SQLServerConfiguration (LinkedReport)

Configurazione di SQL Server per report configurazione personalizzata

Knowledge Base article:

Riepilogo

Funzionamento del report

Il report Configurazione di SQL Server visualizza queste proprietà individuate:

Il report trova i dati se gli oggetti forniti sono di tipo

Motore di database SQL

Cercare gli oggetti specificando contenuto e nome istanza, ad esempio "Istanza1"

Nel report viene visualizzata una matrice che riporta in dettaglio tutte le proprietà trovate.

Come utilizzare il report

Quando viene eseguito dallo spazio di report:

La seconda colonna nei risultati della ricerca mostra il tipo di oggetti visualizzati. Assicurarsi di selezionare gli oggetti di tipo «Motore di database SQL».

Quando viene eseguito dallo spazio di monitoraggio:

Creare una vista stato o una vista prestazioni scegliendo il tipo «Motore di database SQL».

Parametri disponibili

Selezione data/ora: consente di selezionare una data fissa o relativa e un intervallo di tempo e un fuso orario.

Oggetto: consente di aggiungere oggetti per i quali eseguire il report

Element properties:

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

Source Code:

<LinkedReport ID="Report.SQLServer.2008.SQLServerConfiguration" Target="SQL2008Core!Microsoft.SQLServer.2008.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.2008.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="SQL!Microsoft.SQLServer.DBEngine"]/Version$&lt;/ID&gt;
&lt;/Column&gt;
&lt;Column Visible ="true"&gt;
&lt;ID&gt;$MPElement[Name="SQL!Microsoft.SQLServer.DBEngine"]/ServicePackVersion$&lt;/ID&gt;
&lt;/Column&gt;
&lt;Column Visible ="true"&gt;
&lt;ID&gt;$MPElement[Name="SQL!Microsoft.SQLServer.DBEngine"]/Language$&lt;/ID&gt;
&lt;/Column&gt;
&lt;Column Visible ="true"&gt;
&lt;ID&gt;$MPElement[Name="SQL!Microsoft.SQLServer.DBEngine"]/AuthenticationMode$&lt;/ID&gt;
&lt;/Column&gt;
&lt;Column Visible ="true"&gt;
&lt;ID&gt;$MPElement[Name="SQL!Microsoft.SQLServer.DBEngine"]/Cluster$&lt;/ID&gt;
&lt;/Column&gt;
&lt;Column Visible ="true"&gt;
&lt;ID&gt;$MPElement[Name="SQL!Microsoft.SQLServer.DBEngine"]/MasterDatabaseLocation$&lt;/ID&gt;
&lt;/Column&gt;
&lt;Column Visible ="true"&gt;
&lt;ID&gt;$MPElement[Name="SQL!Microsoft.SQLServer.DBEngine"]/MasterDatabaseLogLocation$&lt;/ID&gt;
&lt;/Column&gt;
&lt;Column Visible ="true"&gt;
&lt;ID&gt;$MPElement[Name="SQL!Microsoft.SQLServer.DBEngine"]/ErrorLogLocation$&lt;/ID&gt;
&lt;/Column&gt;
&lt;Column Visible ="true"&gt;
&lt;ID&gt;$MPElement[Name="SQL!Microsoft.SQLServer.DBEngine"]/AuditLevel$&lt;/ID&gt;
&lt;/Column&gt;
&lt;Column Visible ="true"&gt;
&lt;ID&gt;$MPElement[Name="SQL!Microsoft.SQLServer.DBEngine"]/EnableErrorReporting$&lt;/ID&gt;
&lt;/Column&gt;
&lt;Column Visible ="true"&gt;
&lt;ID&gt;$MPElement[Name="SQL!Microsoft.SQLServer.DBEngine"]/ReplicationWorkingDirectory$&lt;/ID&gt;
&lt;/Column&gt;
&lt;Column Visible ="true"&gt;
&lt;ID&gt;$MPElement[Name="SQL!Microsoft.SQLServer.DBEngine"]/ReplicationDistributionDatabase$&lt;/ID&gt;
&lt;/Column&gt;
&lt;Column Visible ="true"&gt;
&lt;ID&gt;$MPElement[Name="SQL!Microsoft.SQLServer.Database"]/DatabaseName$&lt;/ID&gt;
&lt;/Column&gt;
&lt;Column Visible ="false"&gt;
&lt;ID&gt;$MPElement[Name="SQL!Microsoft.SQLServer.Database"]/DatabaseAutogrow$&lt;/ID&gt;
&lt;/Column&gt;
&lt;Column Visible ="false"&gt;
&lt;ID&gt;$MPElement[Name="SQL!Microsoft.SQLServer.Database"]/LogAutogrow$&lt;/ID&gt;
&lt;/Column&gt;
&lt;Column Visible ="true"&gt;
&lt;ID&gt;$MPElement[Name="SQL!Microsoft.SQLServer.Database"]/RecoveryModel$&lt;/ID&gt;
&lt;/Column&gt;
&lt;/Columns&gt;
&lt;/Data&gt;
</Value>
</Parameter>
</Parameters>
</LinkedReport>