<?xml version="1.0" encoding="utf-8" standalone="no"?>
<ReportCollection xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:momx-reporting">
  <ReportItem>
    <Name>Microsoft Exchange Server</Name>
    <Type>Folder</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server</Path>
  </ReportItem>
  <ReportItem>
    <Name>SCDW</Name>
    <Type>DataSource</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/SCDW</Path>
    <DataSourceDefinitionContainer><![CDATA[<?xml version="1.0"?>
<DataSourceDefinition xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Extension xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">SQL</Extension>
  <ConnectString xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">data source=.;initial catalog=SystemCenterReporting</ConnectString>
  <CredentialRetrieval xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">Integrated</CredentialRetrieval>
  <WindowsCredentials xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">false</WindowsCredentials>
  <ImpersonateUser xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">false</ImpersonateUser>
  <Prompt xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">Enter a user name and password to access the data source:</Prompt>
  <Enabled xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">true</Enabled>
</DataSourceDefinition>]]></DataSourceDefinitionContainer>
  </ReportItem>
  <ReportItem>
    <Name>Exchange 2000 and 2003 Health Monitoring and Operations</Name>
    <Type>Folder</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/Exchange 2000 and 2003 Health Monitoring and Operations</Path>
  </ReportItem>
  <ReportItem>
    <Name>Exchange 2003 Outlook Client Monitoring</Name>
    <Type>Report</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/Exchange 2000 and 2003 Health Monitoring and Operations/Exchange 2003 Outlook Client Monitoring</Path>
    <ReportDefinition><![CDATA[<?xml version='1.0' encoding='utf-8'?><Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportdefinition"><rd:GridSpacing xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">0.05in</rd:GridSpacing><RightMargin>1in</RightMargin><Body><ReportItems><Textbox Name="textboxRightLogo"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/2Inch_Logo.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>6</ZIndex><Height>0.5625in</Height><Value /><Left>13in</Left></Textbox><Textbox Name="textboxReportTitle_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/13Inch_Banner.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>5</ZIndex><Height>0.5625in</Height><Width>13in</Width><CanGrow>true</CanGrow><Value>Exchange 2003 Outlook Client Monitoring</Value></Textbox><Textbox Name="textboxExecutionTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>4</ZIndex><Top>0.5625in</Top><Height>0.25in</Height><Value>=Globals.ExecutionTime</Value><Left>13in</Left></Textbox><Textbox Name="textboxParameterValue_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.375in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!Computer.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterValue_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.25in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!BeginDate.Value &amp; " - " &amp; Parameters!EndDate.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterName_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.375in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Server :</Value></Textbox><Textbox Name="textboxParameterName_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.25in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Date Range :</Value></Textbox><Textbox Name="textboxDescription_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>GhostWhite</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.8125in</Top><ToggleImage><InitialState>true</InitialState></ToggleImage><Height>0.375in</Height><Visibility><ToggleItem>textboxDescriptionHeading_tmp</ToggleItem><Hidden>true</Hidden></Visibility><CanGrow>true</CanGrow><Value>= "Outlook Client RPC and Exchange Server RPC data for specified time period. The Client RPC Latency and RPC count columns are calculated from the data collected by Outlook clients and sent to the Exchange server. Thus, these are a reflection of the client experience of getting their requests to and from the Exchange server. The Average Server RPC Latency is the time it takes the Exchange server to process these same requests"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "The following rules need to be enabled for data to be collected:"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "For Exchange Server 2003:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server\Exchange 2003\Performance Counter Logging Rules\Exchange Utilization and Performance\Client Monitoring"  &amp; VbCrLf &amp;  "–      All Rules" </Value></Textbox><Textbox Name="textboxDescriptionHeading_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><Top>0.5625in</Top><Height>0.25in</Height><Width>13in</Width><CanGrow>true</CanGrow><Value>Description</Value></Textbox><Table Name="table1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle></Style><Top>1.75in</Top><Height>1.25in</Height><Width>14.75in</Width><ZIndex>1</ZIndex><NoRows>= "There is no data available for this report. This can occur when there is no relevant data available for collection, the reports’ dependent rules are not enabled or when none of the relevant data has been copied to the Reporting database." </NoRows><DataSetName>ExchangeClientMonitor</DataSetName><TableColumns><TableColumn><Width>3.125in</Width></TableColumn><TableColumn><Width>1in</Width></TableColumn><TableColumn><Width>1in</Width></TableColumn><TableColumn><Width>1in</Width></TableColumn><TableColumn><Width>1.125in</Width></TableColumn><TableColumn><Width>1.25in</Width></TableColumn><TableColumn><Width>1in</Width></TableColumn><TableColumn><Width>1in</Width></TableColumn><TableColumn><Width>1in</Width></TableColumn><TableColumn><Width>2.375in</Width></TableColumn><TableColumn><Width>0.875in</Width></TableColumn></TableColumns><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox3"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox3</DefaultName><ZIndex>27</ZIndex><Value>Server</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox4"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox4</DefaultName><ZIndex>26</ZIndex><Value>Total Attempted RPCs</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox5"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox5</DefaultName><ZIndex>25</ZIndex><Value>Total failed RPCs</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox12"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox12</DefaultName><ZIndex>24</ZIndex><Value>Percentage Successful RPCs</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox8"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><ZIndex>23</ZIndex><Value>Average Client RPC Latency(Seconds)</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox13"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><ZIndex>22</ZIndex><Value>Average Server RPC Latency(Seconds)</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox22"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox22</DefaultName><ZIndex>21</ZIndex><Value>% Client RPC Latency&gt;2 Seconds)</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox27"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox27</DefaultName><ZIndex>20</ZIndex><Value>% Client RPC Latency&gt;5 Seconds)</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox30"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox30</DefaultName><ZIndex>19</ZIndex><Value>% Client RPC Latency&gt;10 Seconds)</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox33"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Left</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox33</DefaultName><ZIndex>18</ZIndex><Value>RPC Error Type</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox36"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox36</DefaultName><ZIndex>17</ZIndex><Value>Number of Failures</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell></TableCells><Height>0.5in</Height></TableRow></TableRows><RepeatOnNewPage>true</RepeatOnNewPage></Header><TableGroups><TableGroup><Grouping Name="table1_Group1"><GroupExpressions><GroupExpression>=Fields!Server.Value</GroupExpression></GroupExpressions></Grouping><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="server"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Left>Solid</Left><Right>None</Right><Top>None</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">server</DefaultName><ZIndex>16</ZIndex><Value>=Fields!Server.Value</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox11"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default><Left>None</Left><Right>Solid</Right><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox11</DefaultName><ZIndex>15</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems><ColSpan>10</ColSpan></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows></Header></TableGroup><TableGroup><Grouping Name="table1_Group2"><GroupExpressions><GroupExpression>=Fields!Server.Value</GroupExpression><GroupExpression>=Fields!Total_Attempted_RPCs.Value</GroupExpression><GroupExpression>=Fields!Total_Failed_RPCs.Value</GroupExpression><GroupExpression>=Fields!Percentage_Successful_RPCs.Value</GroupExpression><GroupExpression>=Fields!Average_Client_RPC_Latency_Seconds.Value</GroupExpression><GroupExpression>=Fields!Average_Server_RPC_Latency_Seconds.Value</GroupExpression><GroupExpression>=Fields!Percent_RPCs_Latency_GT_2_Secs.Value</GroupExpression><GroupExpression>=Fields!Percent_RPCs_Latency_GT_5_Secs.Value</GroupExpression><GroupExpression>=Fields!Percent_RPCs_Latency_GT_10_Secs.Value</GroupExpression></GroupExpressions></Grouping><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox15"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default><Left>Solid</Left><Right>Solid</Right><Top>Solid</Top><Bottom>None</Bottom></BorderStyle><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox15</DefaultName><ZIndex>14</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox46"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Format>g</Format><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><ZIndex>13</ZIndex><Value>=Fields!Total_Attempted_RPCs.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox16"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Format>g</Format><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><ZIndex>12</ZIndex><Value>=Fields!Total_Failed_RPCs.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox18"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Format>P</Format><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><ZIndex>11</ZIndex><Value>=Fields!Percentage_Successful_RPCs.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox19"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Format>F</Format><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><ZIndex>10</ZIndex><Value>=Fields!Average_Client_RPC_Latency_Seconds.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox21"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Format>F</Format><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><ZIndex>9</ZIndex><Value>=Fields!Average_Server_RPC_Latency_Seconds.Value</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox25"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Format>P</Format><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><ZIndex>8</ZIndex><Value>=Fields!Percent_RPCs_Latency_GT_2_Secs.Value</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox26"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Format>P</Format><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><ZIndex>7</ZIndex><Value>=Fields!Percent_RPCs_Latency_GT_5_Secs.Value</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox28"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Format>P</Format><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><ZIndex>6</ZIndex><Value>=Fields!Percent_RPCs_Latency_GT_10_Secs.Value</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox29"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><ZIndex>5</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox32"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox32</DefaultName><ZIndex>4</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows></Header></TableGroup></TableGroups><Details><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="Server_1"><Style><BorderColor><Default>WhiteSmoke</Default></BorderColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">Server_1</DefaultName><ZIndex>3</ZIndex><Value /><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox51"><Style><BorderColor><Default>WhiteSmoke</Default></BorderColor><BorderStyle><Left>None</Left><Right>None</Right><Top>None</Top><Bottom>None</Bottom></BorderStyle><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox51</DefaultName><ZIndex>2</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems><ColSpan>8</ColSpan></TableCell><TableCell><ReportItems><Textbox Name="RPC_Error_Types"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default><Left>Solid</Left><Right>Solid</Right><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">RPC_Error_Types</DefaultName><ZIndex>1</ZIndex><Value>=Fields!RPC_Error_Types.Value</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="Number_Of_Failures"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Format>g</Format><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">Number_Of_Failures</DefaultName><Value>=Fields!Number_Of_Failures.Value</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting></Details></Table></ReportItems><Style><BorderWidth><Default>0.5pt</Default></BorderWidth></Style><Height>11in</Height><ColumnSpacing>0.25in</ColumnSpacing></Body><TopMargin>1in</TopMargin><DataSources><DataSource Name="SCDW"><rd:DataSourceID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">fb44cba7-75a7-4314-b2a5-1fce44701d23</rd:DataSourceID><DataSourceReference>SCDW</DataSourceReference></DataSource></DataSources><Code>public function CurrentTimeZone() as string 
	CurrentTimeZone = System.TimeZone.CurrentTimeZone.StandardName
end function

public function FormatNumber(fieldValue, formatString) as string 
	if (fieldValue is Nothing)
		FormatNumber = "Not Available"
	else
		FormatNumber = Format(fieldValue,formatString)
	end if
end function

</Code><Width>15in</Width><DataSets><DataSet Name="CurrentDate"><Fields><Field Name="BeginDate"><DataField>BeginDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="EndDate"><DataField>EndDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     BeginDate, EndDate
FROM         fn_GetDateRange(7) fn_GetDateRange</CommandText><Timeout>0</Timeout></Query></DataSet><DataSet Name="ComputerList"><Fields><Field Name="Computer"><DataField>Computer</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT DISTINCT SourceClassInstanceKeyValue AS Computer
FROM         [SC_Class_Rel_Computer-Exchange_View]
UNION
SELECT     '&lt;ALL&gt;'
ORDER BY Computer</CommandText><Timeout>3000000</Timeout></Query></DataSet><DataSet Name="CompGroup"><Fields><Field Name="CompGroup"><DataField>CompGroup</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     CompGroup
FROM         fn_ListComputerGroups()
order by CompGroup</CommandText><Timeout>3000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet><DataSet Name="ExchangeClientMonitor"><Fields><Field Name="Server"><DataField>Server</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="Total_Attempted_RPCs"><DataField>Total_Attempted_RPCs</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="Total_Failed_RPCs"><DataField>Total_Failed_RPCs</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="Percentage_Successful_RPCs"><DataField>Percentage_Successful_RPCs</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="Average_Client_RPC_Latency_Seconds"><DataField>Average_Client_RPC_Latency_Seconds</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="Average_Server_RPC_Latency_Seconds"><DataField>Average_Server_RPC_Latency_Seconds</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="Percent_RPCs_Latency_GT_2_Secs"><DataField>Percent_RPCs_Latency_GT_2_Secs</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="Percent_RPCs_Latency_GT_5_Secs"><DataField>Percent_RPCs_Latency_GT_5_Secs</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="Percent_RPCs_Latency_GT_10_Secs"><DataField>Percent_RPCs_Latency_GT_10_Secs</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="RPC_Error_Types"><DataField>RPC_Error_Types</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="Number_Of_Failures"><DataField>Number_Of_Failures</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandType>StoredProcedure</CommandType><CommandText>p_ExchangeServer2003ClientMonitoringReport</CommandText><QueryParameters><QueryParameter Name="@Computer"><Value>=Parameters!Computer.Value</Value></QueryParameter><QueryParameter Name="@BeginDate"><Value>=Parameters!BeginDate.Value</Value></QueryParameter><QueryParameter Name="@EndDate"><Value>=Parameters!EndDate.Value</Value></QueryParameter></QueryParameters></Query></DataSet></DataSets><LeftMargin>1in</LeftMargin><rd:SnapToGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:SnapToGrid><rd:DrawGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:DrawGrid><Description /><PageWidth>17in</PageWidth><rd:ReportID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">624bc08b-335a-49ee-b5a8-abf8b5ca6c92</rd:ReportID><PageFooter><ReportItems><Textbox Name="textboxPageNumber_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.2in</Top><Height>0.25in</Height><Value>="Page " &amp; Globals.PageNumber &amp; "/" &amp; Globals.TotalPages</Value><Left>4in</Left></Textbox><Textbox Name="textbox1DateTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><Top>0.2in</Top><Height>0.25in</Height><Width>4in</Width><Value>="All dates and  times shown in " &amp; Code.CurrentTimeZone()</Value></Textbox></ReportItems><PrintOnLastPage>true</PrintOnLastPage><PrintOnFirstPage>true</PrintOnFirstPage><Style /><Height>0.5in</Height></PageFooter><BottomMargin>1in</BottomMargin><ReportParameters><ReportParameter Name="BeginDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>BeginDate</ValueField></DataSetReference></DefaultValue><Prompt>Begin Date</Prompt></ReportParameter><ReportParameter Name="EndDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>EndDate</ValueField></DataSetReference></DefaultValue><Prompt>End Date</Prompt></ReportParameter><ReportParameter Name="Computer"><DataType>String</DataType><Prompt>Server</Prompt><ValidValues><DataSetReference><DataSetName>ComputerList</DataSetName><ValueField>Computer</ValueField><LabelField>Computer</LabelField></DataSetReference></ValidValues></ReportParameter><ReportParameter Name="SortBy"><DataType>String</DataType><DefaultValue><Values><Value>Server</Value></Values></DefaultValue><Prompt>Sort By</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Server</Value></ParameterValue><ParameterValue><Value>Total_Attempted_RPCs</Value><Label>Total Attempted RPCs</Label></ParameterValue><ParameterValue><Value>Total_Failed_RPCs</Value><Label>Total failed RPCs</Label></ParameterValue><ParameterValue><Value>Percentage_Successful_RPCs</Value><Label>Percentage Successful RPCs</Label></ParameterValue><ParameterValue><Value>Average_Client_RPC_Latency_Seconds</Value><Label>Average Client RPC Latency(Seconds)</Label></ParameterValue><ParameterValue><Value>Average_Server_RPC_Latency_Seconds</Value><Label>Average Server RPC Latency(Seconds)</Label></ParameterValue><ParameterValue><Value>Percent_RPCs_Latency_GT_2_Secs</Value><Label>Percent RPCs Latency&gt;2 Secs</Label></ParameterValue><ParameterValue><Value>Percent_RPCs_Latency_GT_5_Secs</Value><Label>Percent RPCs Latency&gt;5 Secs</Label></ParameterValue><ParameterValue><Value>Percent_RPCs_Latency_GT_10_Secs</Value><Label>Percent RPCs Latency&gt;10 Secs</Label></ParameterValue><ParameterValue><Value>RPC_Error_Types</Value><Label>RPC Error Types</Label></ParameterValue><ParameterValue><Value>Number_Of_Failures</Value><Label>Number of Failures</Label></ParameterValue></ParameterValues></ValidValues></ReportParameter><ReportParameter Name="Direction"><DataType>String</DataType><DefaultValue><Values><Value>Ascending</Value></Values></DefaultValue><Prompt>Sort Order</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Ascending</Value></ParameterValue><ParameterValue><Value>Descending</Value></ParameterValue></ParameterValues></ValidValues></ReportParameter></ReportParameters></Report>]]></ReportDefinition>
  </ReportItem>
  <ReportItem>
    <Name>Exchange Database Sizes</Name>
    <Type>Report</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/Exchange 2000 and 2003 Health Monitoring and Operations/Exchange Database Sizes</Path>
    <ReportDefinition><![CDATA[<?xml version='1.0' encoding='utf-8'?><Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportdefinition"><rd:GridSpacing xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">0.05in</rd:GridSpacing><RightMargin>1in</RightMargin><Body><ReportItems><Textbox Name="textboxRightLogo"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/2Inch_Logo.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>6</ZIndex><Height>0.5625in</Height><Value /><Left>9in</Left></Textbox><Textbox Name="textboxReportTitle_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/9Inch_Banner.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>5</ZIndex><Height>0.5625in</Height><Width>9in</Width><CanGrow>true</CanGrow><Value>Exchange Database Sizes</Value></Textbox><Textbox Name="textboxExecutionTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>4</ZIndex><Top>0.5625in</Top><Height>0.25in</Height><Value>=Globals.ExecutionTime</Value><Left>9in</Left></Textbox><Textbox Name="textboxParameterValue_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.375in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!Computer.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterValue_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.25in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!BeginDate.Value &amp; " - " &amp; Parameters!EndDate.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterName_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.375in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Server :</Value></Textbox><Textbox Name="textboxParameterName_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.25in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Date Range :</Value></Textbox><Textbox Name="textboxDescription_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>GhostWhite</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.8125in</Top><ToggleImage><InitialState>true</InitialState></ToggleImage><Height>0.375in</Height><Visibility><ToggleItem>textboxDescriptionHeading_tmp</ToggleItem><Hidden>true</Hidden></Visibility><CanGrow>true</CanGrow><Value>= "This report lists database sizes for Exchange 2000/2003 servers. Database size (in GB) is presented for each server, storage group and database. The report presents data from MOM script-generated event 9011 with source 'Exchange MOM'."  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "The following rules need to be enabled for data to be collected:"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "For Exchange Server 2000:"  &amp; VbCrLf &amp;  "–      Microsoft Exchange Server\Exchange 2000\Server Utilization Logging: Reporting and Views\Report Collection\"  &amp; VbCrLf &amp;  "–      Report Collection - Database Size per Server"  &amp; VbCrLf &amp;  "For Exchange Server 2003:"  &amp; VbCrLf &amp;  "–      Microsoft Exchange Server\Exchange 2003\Report Collection Rules\Database Size Analysis\"  &amp; VbCrLf &amp;  "–      Report Collection - Database Size per Server" </Value></Textbox><Textbox Name="textboxDescriptionHeading_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><Top>0.5625in</Top><Height>0.25in</Height><Width>9in</Width><CanGrow>true</CanGrow><Value>Description</Value></Textbox><Table Name="table1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle></Style><Top>1.75in</Top><Height>1.25in</Height><ZIndex>1</ZIndex><NoRows>= "There is no data available for this report. This can occur when there is no relevant data available for collection, the reports’ dependent rules are not enabled or when none of the relevant data has been copied to the Reporting database." </NoRows><DataSetName>Exchange2000DBSize</DataSetName><TableColumns><TableColumn><Width>2.23963in</Width></TableColumn><TableColumn><Width>1.00406in</Width></TableColumn><TableColumn><Width>1.36866in</Width></TableColumn><TableColumn><Width>1.7571in</Width></TableColumn><TableColumn><Width>1.5018in</Width></TableColumn><TableColumn><Width>1.87725in</Width></TableColumn><TableColumn><Width>1.2515in</Width></TableColumn></TableColumns><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox3"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox3</DefaultName><ZIndex>18</ZIndex><Value>Server</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox16"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Left</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox16</DefaultName><ZIndex>17</ZIndex><Value>Date</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox4"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox4</DefaultName><ZIndex>16</ZIndex><Value>Database Size 
(On Server) in MB</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox5"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Left</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox5</DefaultName><ZIndex>15</ZIndex><Value>Storage Group</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox12"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox12</DefaultName><ZIndex>14</ZIndex><Value>Database Size 
(On Storage Group) in MB</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox8"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Left</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><ZIndex>13</ZIndex><Value>Database</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox13"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><ZIndex>12</ZIndex><Value>Database Size 
(On Database) in MB</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell></TableCells><Height>0.5in</Height></TableRow></TableRows><RepeatOnNewPage>true</RepeatOnNewPage></Header><TableGroups><TableGroup><Grouping Name="table1_Group1"><GroupExpressions><GroupExpression>=Fields!Server.Value</GroupExpression><GroupExpression>=Fields!Time.Value</GroupExpression></GroupExpressions></Grouping><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox11"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Left>Solid</Left><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox11</DefaultName><ZIndex>11</ZIndex><Value>=Fields!Server.Value</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="Time"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Left>None</Left><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Format>d</Format><TextAlign>Left</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">Time</DefaultName><ZIndex>10</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox15"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox15</DefaultName><ZIndex>9</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems><ColSpan>5</ColSpan></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows></Header></TableGroup><TableGroup><Grouping Name="table1_Group2"><GroupExpressions><GroupExpression>=Fields!Server.Value</GroupExpression><GroupExpression>=Fields!Time.Value</GroupExpression></GroupExpressions></Grouping><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox18"><Style><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox18</DefaultName><ZIndex>8</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox21"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Format>d</Format><TextAlign>Left</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox21</DefaultName><ZIndex>7</ZIndex><Value>=Fields!Time.Value</Value><CanGrow>true</CanGrow></Textbox></ReportItems><ColSpan>6</ColSpan></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows></Header></TableGroup></TableGroups><Details><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="Server_1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">Server_1</DefaultName><ZIndex>6</ZIndex><Value /><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox19"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Left>Solid</Left></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox19</DefaultName><ZIndex>5</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="ExgServerDbSize_1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Format>F</Format><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">ExgServerDbSize_1</DefaultName><ZIndex>4</ZIndex><Value>=iif(Fields!ExgServerDbSize.Value &gt; 0.0,Fields!ExgServerDbSize.Value,"")</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="ExgStorageGroup"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Format>P</Format><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">ExgStorageGroup</DefaultName><ZIndex>3</ZIndex><Value>=Fields!ExgStorageGroup.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="ExgStorageGroupDBSize"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Format>F</Format><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">ExgStorageGroupDBSize</DefaultName><ZIndex>2</ZIndex><Value>=iif(Fields!ExgStorageGroupDBSize.Value &gt; 0.0,Fields!ExgStorageGroupDBSize.Value,"")</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox9"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><ZIndex>1</ZIndex><Value>=Fields!ExgMailboxDBName.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox14"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Format>F</Format><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><Value>=iif(Fields!ExgMailboxDBSize.Value &gt; 0.0,Fields!ExgMailboxDBSize.Value,"")</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting></Details></Table></ReportItems><Style><BorderWidth><Default>0.5pt</Default></BorderWidth></Style><Height>11in</Height><ColumnSpacing>0.25in</ColumnSpacing></Body><TopMargin>1in</TopMargin><DataSources><DataSource Name="SCDW"><rd:DataSourceID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">fb44cba7-75a7-4314-b2a5-1fce44701d23</rd:DataSourceID><DataSourceReference>SCDW</DataSourceReference></DataSource></DataSources><Code>public function CurrentTimeZone() as string 
	CurrentTimeZone = System.TimeZone.CurrentTimeZone.StandardName
end function

public function FormatNumber(fieldValue, formatString) as string 
	if (fieldValue is Nothing)
		FormatNumber = "Not Available"
	else
		FormatNumber = Format(fieldValue,formatString)
	end if
end function

public function ServerName(EventMessages as String) as string 
	Dim myArray
	myArray = Split(EventMessages, ";", -1, 1)
	ServerName = myArray(0)
end function
public function ServerDatabaseSize(EventMessages as String) as string 
	Dim myArray
	myArray = Split(EventMessages, ";", -1, 1)
	'ServerDatabaseSize = FormatNumber((CDbl(myArray(1)) / (1024&amp; * 1024&amp;)), 2)\
	ServerDatabaseSize = myArray(1)
end function
public function StorageGroup(EventMessages as String) as string 
	Dim myArray
	myArray = Split(EventMessages, ";", -1, 1)
	StorageGroup = myArray(2)
end function
public function StorageGroupDatabaseSize(EventMessages as String) as string 
	Dim myArray
	myArray = Split(EventMessages, ";", -1, 1)
	'StorageGroupDatabaseSize = FormatNumber((CDbl(myArray(3)) / (1024&amp; * 1024&amp;)), 2)
	StorageGroupDatabaseSize = myArray(3)
end function
public function Database(EventMessages as String) as string 
	Dim myArray
	myArray = Split(EventMessages, ";", -1, 1)
	Database = myArray(4)
end function
public function DatabaseDbSize(EventMessages as String) as string 
	Dim DBSize
	Dim myArray
	myArray = Split(EventMessages, ";", -1, 1)
	DatabaseDbSize = myArray(5) 
	'DatabaseDbSize = FormatNumber((CDbl(myArray(5)) / (1024&amp; * 1024&amp;)), 2)
	
end function</Code><Width>11in</Width><DataSets><DataSet Name="CurrentDate"><Fields><Field Name="BeginDate"><DataField>BeginDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="EndDate"><DataField>EndDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     BeginDate, EndDate
FROM         fn_GetDateRange(1) fn_GetDateRange</CommandText><Timeout>0</Timeout></Query></DataSet><DataSet Name="ComputerList"><Fields><Field Name="Computer"><DataField>Computer</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT DISTINCT SourceClassInstanceKeyValue AS Computer
FROM         [SC_Class_Rel_Computer-Exchange_View]
UNION
SELECT     '&lt;ALL&gt;'
ORDER BY Computer</CommandText><Timeout>3000000</Timeout></Query></DataSet><DataSet Name="CompGroup"><Fields><Field Name="CompGroup"><DataField>CompGroup</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     CompGroup
FROM         fn_ListComputerGroups()</CommandText><Timeout>3000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet><DataSet Name="Exchange2000DBSize"><Fields><Field Name="Server"><DataField>Server</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="Time"><DataField>Time</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="ExgServer"><DataField>ExgServer</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="ExgServerDbSize"><DataField>ExgServerDbSize</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="ExgStorageGroup"><DataField>ExgStorageGroup</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="ExgStorageGroupDBSize"><DataField>ExgStorageGroupDBSize</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="ExgMailboxDBName"><DataField>ExgMailboxDBName</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="ExgMailboxDBSize"><DataField>ExgMailboxDBSize</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>BEGIN CREATE TABLE #ExchangeDatabaseSizesReport(Server nvarchar(256), [Time] datetime, ExgServer nvarchar(256), ExgServerDbSize nvarchar(32), 
ExgStorageGroup nvarchar(256), ExgStorageGroupDBSize nvarchar(32), ExgMailboxDBName nvarchar(256), ExgMailboxDBSize nvarchar(32)) 
DECLARE @EventString nvarchar(4000) DECLARE @Server nvarchar(256) DECLARE @ExgServer nvarchar(256) DECLARE @ExgServerDbSize nvarchar(32) 
DECLARE @ExgStorageGroup nvarchar(256) DECLARE @ExgStorageGroupDBSize nvarchar(32) DECLARE @ExgMailboxDBName nvarchar(256) 
DECLARE @ExgMailboxDBSize nvarchar(32) 
DECLARE @Time datetime DECLARE @I integer DECLARE @J integer DECLARE @nPositionCtr int DECLARE @nLen AS int DECLARE @nStart AS int DECLARE @nEndIndex
 int DECLARE DBSize CURSOR FOR SELECT     CD.FullComputerName AS Server, [Time] = cast(convert(nvarchar(32),EF.LocalDateTimeGenerated,101) as datetime), 
                                                                                                      EF.EventMessage AS EventMessage
                                                                               FROM         SC_EventFact_View EF INNER JOIN
                                                                                                      SC_EventDetailDimension_View EDD ON EDD.SMC_InstanceID = EF.EventDetail_FK INNER JOIN
                                                                                                      dbo.SC_ComputerDimension_View CD ON CD.SMC_InstanceID = EF.Computer_FK
                                                                               WHERE     (@Computer = '&lt;ALL&gt;' OR
                                                                                                      CD.FullComputerName = @Computer) AND EF.LocalDateTimeGenerated BETWEEN @BeginDate AND 
                                                                                                      @EndDate AND EDD.EventID_PK IN (9011) AND 
                                                                                                      EDD.EventSource_PK = 'Exchange MOM' OPEN DBSize FETCH NEXT
FROM         DBSize
INTO            @Server, @Time, @EventString WHILE (@@FETCH_STATUS = 0) BEGIN
SET              @I = 0
SET              @J = 0
SET              @nlen = 0
SET              @nlen = 0
SET              @nStart = 1
SET              @nPositionCtr = 0
SET              @nEndIndex = 0
SET              @nlen = Len(@EventString) WHILE (@nStart &lt;= @nlen) BEGIN
SET              @nEndIndex = charindex(';', @EventString, @nStart) IF @nEndIndex = 0
SET              @nEndIndex = @nLen + 1
SET              @nStart = @nEndIndex + 1
SET              @nPositionCtr = @nPositionCtr + 1 END
SET              @nStart = 1 WHILE @I &lt; @nPositionCtr BEGIN
SET              @I = @J
SET              @nEndIndex = charindex(';', @EventString, @nStart) IF @nEndIndex = 0 BREAK
SET              @ExgServer = substring(@EventString, @nStart, @nEndIndex - @nStart)
SET              @nStart = @nEndIndex + 1
SET              @nEndIndex = charindex(';', @EventString, @nStart)
SET              @ExgServerDbSize = substring(@EventString, @nStart, @nEndIndex - @nStart)
SET              @nStart = @nEndIndex + 1
SET              @nEndIndex = charindex(';', @EventString, @nStart)
SET              @ExgStorageGroup = substring(@EventString, @nStart, @nEndIndex - @nStart)
SET              @nStart = @nEndIndex + 1
SET              @nEndIndex = charindex(';', @EventString, @nStart)
SET              @ExgStorageGroupDBSize = substring(@EventString, @nStart, @nEndIndex - @nStart)
SET              @nStart = @nEndIndex + 1
SET              @nEndIndex = charindex(';', @EventString, @nStart)
SET              @ExgMailboxDBName = substring(@EventString, @nStart, @nEndIndex - @nStart)
SET              @nStart = @nEndIndex + 1
SET              @nEndIndex = charindex(';', @EventString, @nStart)
SET              @ExgMailboxDBSize = substring(@EventString, @nStart, @nEndIndex - @nStart)
SET              @nStart = @nEndIndex + 1
                          INSERT      
                           INTO            #ExchangeDatabaseSizesReport(Server, [Time], ExgServer, ExgServerDbSize, ExgStorageGroup, ExgStorageGroupDBSize, 
                                                  ExgMailboxDBName, ExgMailboxDBSize)
VALUES     (@Server, @Time, @ExgServer, @ExgServerDbSize, @ExgStorageGroup, @ExgStorageGroupDBSize, @ExgMailboxDBName, @ExgMailboxDBSize)
SET              @J = @J + 6 END FETCH NEXT
FROM         DBSize
INTO            @Server, @Time, @EventString END
                          SELECT     Server, [Time], ExgServer, ExgServerDbSize = cast(ExgServerDbSize AS float) / (1024 * 1024), ExgStorageGroup, 
                                                  ExgStorageGroupDBSize = cast(ExgStorageGroupDBSize AS float) / (1024 * 1024), ExgMailboxDBName, 
                                                  ExgMailboxDBSize = cast(ExgMailboxDBSize AS float) / (1024 * 1024)
                           FROM         #ExchangeDatabaseSizesReport
                           WHERE     ExgMailboxDBSize != '' CLOSE DBSize DEALLOCATE DBSize END</CommandText><QueryParameters><QueryParameter Name="@Computer"><Value>=Parameters!Computer.Value</Value></QueryParameter><QueryParameter Name="@BeginDate"><Value>=Parameters!BeginDate.Value</Value></QueryParameter><QueryParameter Name="@EndDate"><Value>=Parameters!EndDate.Value</Value></QueryParameter></QueryParameters><Timeout>300000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet></DataSets><LeftMargin>1in</LeftMargin><rd:SnapToGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:SnapToGrid><rd:DrawGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:DrawGrid><Description /><PageWidth>13in</PageWidth><rd:ReportID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">212d782b-9718-4b8d-a1c1-2bd72afd7b82</rd:ReportID><PageFooter><ReportItems><Textbox Name="textboxPageNumber_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.2in</Top><Height>0.25in</Height><Value>="Page " &amp; Globals.PageNumber &amp; "/" &amp; Globals.TotalPages</Value><Left>4in</Left></Textbox><Textbox Name="textbox1DateTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><Top>0.2in</Top><Height>0.25in</Height><Width>4in</Width><Value>="All dates and  times shown in " &amp; Code.CurrentTimeZone()</Value></Textbox></ReportItems><PrintOnLastPage>true</PrintOnLastPage><PrintOnFirstPage>true</PrintOnFirstPage><Style /><Height>0.5in</Height></PageFooter><BottomMargin>1in</BottomMargin><ReportParameters><ReportParameter Name="BeginDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>BeginDate</ValueField></DataSetReference></DefaultValue><Prompt>Begin Date</Prompt></ReportParameter><ReportParameter Name="EndDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>EndDate</ValueField></DataSetReference></DefaultValue><Prompt>End Date</Prompt></ReportParameter><ReportParameter Name="Computer"><DataType>String</DataType><Prompt>Server</Prompt><ValidValues><DataSetReference><DataSetName>ComputerList</DataSetName><ValueField>Computer</ValueField><LabelField>Computer</LabelField></DataSetReference></ValidValues></ReportParameter><ReportParameter Name="SortBy"><DataType>String</DataType><DefaultValue><Values><Value>Server</Value></Values></DefaultValue><Prompt>Sort By</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Server</Value></ParameterValue><ParameterValue><Value>Time</Value><Label>Date</Label></ParameterValue></ParameterValues></ValidValues></ReportParameter><ReportParameter Name="Direction"><DataType>String</DataType><DefaultValue><Values><Value>Ascending</Value></Values></DefaultValue><Prompt>Sort Order</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Ascending</Value></ParameterValue><ParameterValue><Value>Descending</Value></ParameterValue></ParameterValues></ValidValues></ReportParameter></ReportParameters></Report>]]></ReportDefinition>
  </ReportItem>
  <ReportItem>
    <Name>Exchange Disk Usage</Name>
    <Type>Report</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/Exchange 2000 and 2003 Health Monitoring and Operations/Exchange Disk Usage</Path>
    <ReportDefinition><![CDATA[<?xml version='1.0' encoding='utf-8'?><Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportdefinition"><rd:GridSpacing xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">0.05in</rd:GridSpacing><RightMargin>1in</RightMargin><Body><ReportItems><Textbox Name="textboxRightLogo"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/2Inch_Logo.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>6</ZIndex><Height>0.5625in</Height><Value /><Left>9in</Left></Textbox><Textbox Name="textboxReportTitle_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/9Inch_Banner.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>5</ZIndex><Height>0.5625in</Height><Width>9in</Width><CanGrow>true</CanGrow><Value>Exchange Disk Usage</Value></Textbox><Textbox Name="textboxExecutionTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>4</ZIndex><Top>0.5625in</Top><Height>0.25in</Height><Value>=Globals.ExecutionTime</Value><Left>9in</Left></Textbox><Textbox Name="textboxParameterValue_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.375in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!Computer.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterValue_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.25in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!BeginDate.Value &amp; " - " &amp; Parameters!EndDate.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterName_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.375in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Server :</Value></Textbox><Textbox Name="textboxParameterName_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.25in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Date Range :</Value></Textbox><Textbox Name="textboxDescription_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>GhostWhite</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.8125in</Top><ToggleImage><InitialState>true</InitialState></ToggleImage><Height>0.375in</Height><Visibility><ToggleItem>textboxDescriptionHeading_tmp</ToggleItem><Hidden>true</Hidden></Visibility><CanGrow>true</CanGrow><Value>= "This report provides Exchange 2000/2003 servers’ disk usage based on key disk performance counters. The report presents daily average for counters PhysicalDisk-Disk Reads/sec (Scale = 1.0), PhysicalDisk-Disk Writes/sec (Scale = 1.0) and PhysicalDisk-Avg. Disk Queue Length (Scale = 1.0) for each disk instance for the specified time period. Highest average for each counter in a ½ hour period is also included with the time of occurrence for the highest average. The data is ordered by server name and date."  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "The following rules need to be enabled for data to be collected:"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "For Exchange 2000 Server:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server\Exchange 2000\Server Utilization Logging: Reporting and Views\Disk Performance Logging\"  &amp; VbCrLf &amp;  "–       Current Disk Queue Length (All disks)"  &amp; VbCrLf &amp;  "–       Disk Reads /second (All disks)"  &amp; VbCrLf &amp;  "–       Disk Writes / second (All disks)"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "For Exchange Server 2003:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server\Exchange 2003\Performance Counter Logging Rules\Server Resource Utilization\Disk Performance Logging\"  &amp; VbCrLf &amp;  "–       Current Disk Queue Length (All disks)"  &amp; VbCrLf &amp;  "–       Disk Reads /second (All disks)"  &amp; VbCrLf &amp;  "–       Disk Writes / second (All disks)" </Value></Textbox><Textbox Name="textboxDescriptionHeading_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><Top>0.5625in</Top><Height>0.25in</Height><Width>9in</Width><CanGrow>true</CanGrow><Value>Description</Value></Textbox><Table Name="table1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle></Style><Top>1.75in</Top><Height>1.125in</Height><Width>10.985in</Width><ZIndex>1</ZIndex><NoRows>= "There is no data available for this report. This can occur when there is no relevant data available for collection, the reports’ dependent rules are not enabled or when none of the relevant data has been copied to the Reporting database." </NoRows><DataSetName>ExchangeDiskUsage</DataSetName><TableColumns><TableColumn><Width>2.09238in</Width></TableColumn><TableColumn><Width>1.56929in</Width></TableColumn><TableColumn><Width>0.65387in</Width></TableColumn><TableColumn><Width>2.74625in</Width></TableColumn><TableColumn><Width>1.04619in</Width></TableColumn><TableColumn><Width>1.43851in</Width></TableColumn><TableColumn><Width>1.43851in</Width></TableColumn></TableColumns><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox3"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Left</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox3</DefaultName><ZIndex>19</ZIndex><Value>Server</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox8"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Left</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox8</DefaultName><ZIndex>18</ZIndex><Value>Date</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox4"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Left</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox4</DefaultName><ZIndex>17</ZIndex><Value>Disk</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox5"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Left</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox5</DefaultName><ZIndex>16</ZIndex><Value>Performance Counter</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox9"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox9</DefaultName><ZIndex>15</ZIndex><Value>Avg. Rate during day</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox12"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox12</DefaultName><ZIndex>14</ZIndex><Value>Highest Avg. Rate in 1/2 hr. period</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox14"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox14</DefaultName><ZIndex>13</ZIndex><Value>Time Period of Highest Avg. rate</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell></TableCells><Height>0.375in</Height></TableRow></TableRows><RepeatOnNewPage>true</RepeatOnNewPage></Header><TableGroups><TableGroup><Grouping Name="table1_Group1"><GroupExpressions><GroupExpression>=Fields!Server.Value</GroupExpression></GroupExpressions></Grouping><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0) </SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox11"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Left>Solid</Left><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox11</DefaultName><ZIndex>12</ZIndex><Value>=Fields!Server.Value</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox13"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox13</DefaultName><ZIndex>11</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox15"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox15</DefaultName><ZIndex>10</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems><ColSpan>5</ColSpan></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows></Header></TableGroup><TableGroup><Grouping Name="table1_Group2"><GroupExpressions><GroupExpression>=Fields!Server.Value</GroupExpression><GroupExpression>=Fields!Date.Value</GroupExpression></GroupExpressions></Grouping><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox31"><Style><BorderColor><Default>LightGrey</Default></BorderColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox31</DefaultName><ZIndex>9</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="Date_1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Left>Solid</Left><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">Date_1</DefaultName><ZIndex>8</ZIndex><Value>=code.FormatDate(Fields!Date.Value)</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox33"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Top>Solid</Top></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox33</DefaultName><ZIndex>7</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems><ColSpan>5</ColSpan></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows></Header></TableGroup><TableGroup><Grouping Name="table1_Group3"><GroupExpressions><GroupExpression>=Fields!Server.Value</GroupExpression><GroupExpression>=Fields!Date.Value</GroupExpression><GroupExpression>=Fields!CounterName.Value</GroupExpression><GroupExpression>=Fields!DayMaxAvg.Value</GroupExpression><GroupExpression>=Fields!DayTotal.Value</GroupExpression><GroupExpression>=Fields!DayCount.Value</GroupExpression></GroupExpressions></Grouping><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox22"><Style><BorderColor><Default>LightGrey</Default></BorderColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox22</DefaultName><ZIndex>6</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox25"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Left>Solid</Left></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox25</DefaultName><ZIndex>5</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="InstanceName"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">InstanceName</DefaultName><ZIndex>4</ZIndex><Value>=First(Fields!InstanceName.Value)</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="CounterName_1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">CounterName_1</DefaultName><ZIndex>3</ZIndex><Value>=First(Fields!CounterName.Value)</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="DayMaxAvg"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">DayMaxAvg</DefaultName><ZIndex>2</ZIndex><Value>=First(format(Fields!DayAvgRate.Value,"#####0.000000"))</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox29"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox29</DefaultName><ZIndex>1</ZIndex><Value>=First(format(Fields!DayMaxAvg.Value,"#####0.000000"))</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="TimePeriod_1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">TimePeriod_1</DefaultName><Value>=First(Fields!TimePeriod.Value)</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows></Header></TableGroup></TableGroups></Table></ReportItems><Style><BorderWidth><Default>0.5pt</Default></BorderWidth></Style><Height>11in</Height><ColumnSpacing>0.25in</ColumnSpacing></Body><TopMargin>1in</TopMargin><DataSources><DataSource Name="SCDW"><rd:DataSourceID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">fb44cba7-75a7-4314-b2a5-1fce44701d23</rd:DataSourceID><DataSourceReference>SCDW</DataSourceReference></DataSource></DataSources><Code>public function CurrentTimeZone() as string 
	CurrentTimeZone = System.TimeZone.CurrentTimeZone.StandardName
end function

public function FormatNumber(fieldValue, formatString) as string 
	if (fieldValue is Nothing)
		FormatNumber = "Not Available"
	else
		FormatNumber = Format(fieldValue,formatString)
	end if
end function

function formatDate(s) as string
	Dim d as date
	d=s
	formatDate=d.tostring("d")
end function</Code><Width>11in</Width><DataSets><DataSet Name="CurrentDate"><Fields><Field Name="BeginDate"><DataField>BeginDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="EndDate"><DataField>EndDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     BeginDate, EndDate
FROM         fn_GetDateRange(1) fn_GetDateRange</CommandText><Timeout>0</Timeout></Query></DataSet><DataSet Name="ComputerList"><Fields><Field Name="Computer"><DataField>Computer</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT DISTINCT SourceClassInstanceKeyValue AS Computer
FROM         [SC_Class_Rel_Computer-Exchange_View]
UNION
SELECT     '&lt;ALL&gt;'
ORDER BY Computer</CommandText><Timeout>3000000</Timeout></Query></DataSet><DataSet Name="CompGroup"><Fields><Field Name="CompGroup"><DataField>CompGroup</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     CompGroup
FROM         fn_ListComputerGroups()</CommandText><Timeout>3000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet><DataSet Name="ExchangeDiskUsage"><Fields><Field Name="Server"><DataField>Server</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="Date"><DataField>Date</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="InstanceName"><DataField>InstanceName</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="CounterName"><DataField>CounterName</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="DayMaxAvg"><DataField>DayMaxAvg</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="DayTotal"><DataField>DayTotal</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="DayCount"><DataField>DayCount</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Int32</TypeName></Field><Field Name="TimePeriod"><DataField>TimePeriod</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="DayAvgRate"><DataField>DayAvgRate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>Select tempT2.Server,tempT2.[Date]  ,tempT2.InstanceName,tempT2.CounterName,
	tempT2.DayMaxAvg,tempT2.DayTotal,tempT2.DayCount,
	tempT4.[TimePeriod],
	tempT2.DayTotal/tempT2.DayCount as DayAvgRate
from (
select Server,[Date],InstanceName,CounterName,max(PeriodAvg) as DayMaxAvg,Sum(PeriodTotal) as DayTotal,sum(PeriodCount) as DayCount
from
(SELECT  
	Server 		= CD.FullComputerName,
	InstanceName 	,--= CDD.InstanceName_PK,
	CounterName 	,-- CDD.CounterName_PK,
	[Date] 		= DD.Date,
	[TimePeriod]    = case when datepart(mi,snd.localdatetimesampled) &lt; 31 then cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'00'+' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'29' 
				  else cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'30' +' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'59' end,
	PeriodTotal	= sum(SND.SampleValue),
	PeriodAvg	= avg(SND.SampleValue),
	PeriodCount	= Count(*)
FROM    
                                (SELECT ObjectName = CDD.ObjectName_PK,CounterName = CDD.CounterName_PK,
				   [InstanceName] = CDD.InstanceName_PK, [Scale] = CDD.ScaleFactor,
				   SMC_InstanceID
  				FROM dbo.SC_CounterDetailDimension_View CDD
 				WHERE CDD.CounterName_PK IN  ('Disk Reads/sec','Disk Writes/sec','Avg. Disk Queue Length')
                                        AND CDD.ObjectName_PK = ('PhysicalDisk')
					AND CDD.InstanceName_PK&lt;&gt;'_Total'
				 ) dtCDD 
         inner join 
	dbo.SC_SampledNumericDataFact_View SND   ON dtCDD.SMC_InstanceID = SND.CounterDetail_FK 
        INNER JOIN
        dbo.SC_ComputerDimension_View CD 	ON CD.SMC_InstanceID = SND.Computer_FK 		
        inner join SC_DateDimension_View DD on DD.SMC_InstanceID=SND.LocalDateSampled_FK
Where 
	   snd.localdatetimesampled  between @BeginDate and @EndDate 
	    and  (@Computer = '&lt;ALL&gt;' or cd.fullcomputerName=@Computer ) --CD.ComputerId=(select computerid from sc_computerDimension_View where fullcomputername=@Computer))

group by CD.FullComputerName,dtCDD.InstanceName,dtCDD.CounterName,DD.Date,
              datepart(hh,snd.localdatetimesampled), case when datepart(mi,snd.localdatetimesampled) &lt; 31 then cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'00'+' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'29' 
				  else cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'30' +' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'59' end
)tempT1
group by Server,[Date],InstanceName,CounterName
) tempT2 

Inner join 

 (select Server,[Date],InstanceName,CounterName,PeriodAvg,[TimePeriod]
from
(SELECT  
	Server 		= CD.FullComputerName,
	InstanceName 	,--= CDD.InstanceName_PK,
	CounterName 	,-- CDD.CounterName_PK,
	[Date] 		=DD.Date,
	[TimePeriod]    = case when datepart(mi,snd.localdatetimesampled) &lt; 31 then cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'00'+' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'29' 
				  else cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'30' +' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'59' end,
	--PeriodTotal	= sum(SND.SampleValue),
	PeriodAvg	= avg(SND.SampleValue)
	--PeriodCount	= Count(*)
FROM    
                                (SELECT ObjectName = CDD.ObjectName_PK,CounterName = CDD.CounterName_PK,
				   [InstanceName] = CDD.InstanceName_PK, [Scale] = CDD.ScaleFactor,
				   SMC_InstanceID
  				FROM dbo.SC_CounterDetailDimension_View CDD
 				WHERE CDD.CounterName_PK IN  ('Disk Reads/sec','Disk Writes/sec','Avg. Disk Queue Length')
                                        AND CDD.ObjectName_PK = ('PhysicalDisk')
					AND CDD.InstanceName_PK&lt;&gt;'_Total'
				 ) dtCDD 
         inner join 
	dbo.SC_SampledNumericDataFact_View SND   ON dtCDD.SMC_InstanceID = SND.CounterDetail_FK 
        INNER JOIN
        dbo.SC_ComputerDimension_View CD 	ON CD.SMC_InstanceID = SND.Computer_FK 		
	inner join SC_DateDimension_View DD on DD.SMC_InstanceID=SND.LocalDateSampled_FK
Where 
	   snd.localdatetimesampled  between @BeginDate and @EndDate 
	    and  (@Computer = '&lt;ALL&gt;' or cd.fullcomputerName=@Computer ) --CD.ComputerId=(select computerid from sc_computerDimension_View where fullcomputername=@Computer))
group by CD.FullComputerName,dtCDD.InstanceName,dtCDD.CounterName,DD.Date,
              datepart(hh,snd.localdatetimesampled), case when datepart(mi,snd.localdatetimesampled) &lt; 31 then cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'00'+' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'29' 
				  else cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'30' +' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'59' end
)tempT3)tempT4

on      tempT4.Server = tempT2.Server and
	TempT4.[Date]= tempT2.[Date] and
	tempT4.InstanceName = tempT2.InstanceName and
	tempT4.CounterName  = tempT2.CounterName and
	tempT4.PeriodAvg    = tempT2.DayMaxAvg  
	

order by tempT2.Server,tempT2.[Date],tempT2.InstanceName,tempT2.CounterName</CommandText><QueryParameters><QueryParameter Name="@BeginDate"><Value>=Parameters!BeginDate.Value</Value></QueryParameter><QueryParameter Name="@EndDate"><Value>=Parameters!EndDate.Value</Value></QueryParameter><QueryParameter Name="@Computer"><Value>=Parameters!Computer.Value</Value></QueryParameter></QueryParameters><Timeout>300000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet></DataSets><LeftMargin>1in</LeftMargin><rd:SnapToGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:SnapToGrid><rd:DrawGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:DrawGrid><Description /><PageWidth>13in</PageWidth><rd:ReportID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">212d782b-9718-4b8d-a1c1-2bd72afd7b82</rd:ReportID><PageFooter><ReportItems><Textbox Name="textboxPageNumber_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.2in</Top><Height>0.25in</Height><Value>="Page " &amp; Globals.PageNumber &amp; "/" &amp; Globals.TotalPages</Value><Left>4in</Left></Textbox><Textbox Name="textbox1DateTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><Top>0.2in</Top><Height>0.25in</Height><Width>4in</Width><Value>="All dates and  times shown in " &amp; Code.CurrentTimeZone()</Value></Textbox></ReportItems><PrintOnLastPage>true</PrintOnLastPage><PrintOnFirstPage>true</PrintOnFirstPage><Style /><Height>0.5in</Height></PageFooter><BottomMargin>1in</BottomMargin><ReportParameters><ReportParameter Name="BeginDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>BeginDate</ValueField></DataSetReference></DefaultValue><Prompt>Begin Date</Prompt></ReportParameter><ReportParameter Name="EndDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>EndDate</ValueField></DataSetReference></DefaultValue><Prompt>End Date</Prompt></ReportParameter><ReportParameter Name="Computer"><DataType>String</DataType><Prompt>Server</Prompt><ValidValues><DataSetReference><DataSetName>ComputerList</DataSetName><ValueField>Computer</ValueField><LabelField>Computer</LabelField></DataSetReference></ValidValues></ReportParameter><ReportParameter Name="SortBy"><DataType>String</DataType><DefaultValue><Values><Value>Server</Value></Values></DefaultValue><Prompt>Sort By</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Server</Value></ParameterValue><ParameterValue><Value>Date</Value></ParameterValue><ParameterValue><Value>InstanceName</Value><Label>Disk</Label></ParameterValue><ParameterValue><Value>CounterName</Value><Label>Performance Counter</Label></ParameterValue><ParameterValue><Value>DayAvgRate</Value><Label>Avg. Rate during day</Label></ParameterValue><ParameterValue><Value>DayMaxAvg</Value><Label>Highest Avg. Rate in 1/2 hr. period</Label></ParameterValue><ParameterValue><Value>TimePeriod</Value><Label>Time Period of Highest Avg. Rate</Label></ParameterValue></ParameterValues></ValidValues></ReportParameter><ReportParameter Name="Direction"><DataType>String</DataType><DefaultValue><Values><Value>Ascending</Value></Values></DefaultValue><Prompt>Sort Order</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Ascending</Value></ParameterValue><ParameterValue><Value>Descending</Value></ParameterValue></ParameterValues></ValidValues></ReportParameter></ReportParameters></Report>]]></ReportDefinition>
  </ReportItem>
  <ReportItem>
    <Name>Exchange Mailboxes</Name>
    <Type>Report</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/Exchange 2000 and 2003 Health Monitoring and Operations/Exchange Mailboxes</Path>
    <ReportDefinition><![CDATA[<?xml version='1.0' encoding='utf-8'?><Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportdefinition"><rd:GridSpacing xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">0.05in</rd:GridSpacing><RightMargin>1in</RightMargin><Body><ReportItems><Textbox Name="textboxRightLogo"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/2Inch_Logo.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>6</ZIndex><Height>0.5625in</Height><Value /><Left>9in</Left></Textbox><Textbox Name="textboxReportTitle_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/9Inch_Banner.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>5</ZIndex><Height>0.5625in</Height><Width>9in</Width><CanGrow>true</CanGrow><Value>Exchange Mailboxes</Value></Textbox><Textbox Name="textboxExecutionTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>4</ZIndex><Top>0.5625in</Top><Height>0.25in</Height><Value>=Globals.ExecutionTime</Value><Left>9in</Left></Textbox><Textbox Name="textboxParameterValue_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.375in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!Computer.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterValue_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.25in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!BeginDate.Value &amp; " - " &amp; Parameters!EndDate.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterName_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.375in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Server :</Value></Textbox><Textbox Name="textboxParameterName_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.25in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Date Range :</Value></Textbox><Textbox Name="textboxDescription_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>GhostWhite</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.8125in</Top><ToggleImage><InitialState>true</InitialState></ToggleImage><Height>0.375in</Height><Visibility><ToggleItem>textboxDescriptionHeading_tmp</ToggleItem><Hidden>true</Hidden></Visibility><CanGrow>true</CanGrow><Value>= "This report lists distribution of mailboxes across storage groups and databases for Exchange 2000/2003 servers. Number of mailboxes is presented for each server, storage group and database. The report presents data from MOM script-generated event 9010 with source 'Exchange MOM'."  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "The following rules need to be enabled for data to be collected:"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "For Exchange 2000 Server:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server\Exchange 2000\Server Utilization Logging: Reporting and Views\Report Collection\"  &amp; VbCrLf &amp;  "–       Report Collection - Number of Mailboxes per server"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "For Exchange Server 2003:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server\Exchange 2003\Report Collection Rules\Mailboxes Per Server Analysis\"  &amp; VbCrLf &amp;  "–       Report Collection - Number of Mailboxes per server" </Value></Textbox><Textbox Name="textboxDescriptionHeading_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><Top>0.5625in</Top><Height>0.25in</Height><Width>9in</Width><CanGrow>true</CanGrow><Value>Description</Value></Textbox><Table Name="table1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle></Style><Top>1.75in</Top><Height>1.125in</Height><ZIndex>1</ZIndex><NoRows>= "There is no data available for this report. This can occur when there is no relevant data available for collection, the reports’ dependent rules are not enabled or when none of the relevant data has been copied to the Reporting database." </NoRows><DataSetName>Exchange2000Mailboxes</DataSetName><TableColumns><TableColumn><Width>2.5in</Width></TableColumn><TableColumn><Width>1in</Width></TableColumn><TableColumn><Width>1.12667in</Width></TableColumn><TableColumn><Width>2in</Width></TableColumn><TableColumn><Width>1.5in</Width></TableColumn><TableColumn><Width>1.75in</Width></TableColumn><TableColumn><Width>1.12333in</Width></TableColumn></TableColumns><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox3"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox3</DefaultName><ZIndex>18</ZIndex><Value>Server</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox16"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Left</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox16</DefaultName><ZIndex>17</ZIndex><Value>Date</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox4"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox4</DefaultName><ZIndex>16</ZIndex><Value>Mailboxes 
(On Server)</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox5"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Left</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox5</DefaultName><ZIndex>15</ZIndex><Value>Storage Group</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox12"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox12</DefaultName><ZIndex>14</ZIndex><Value>Mailboxes 
(On Storage Group)</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox8"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Left</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><ZIndex>13</ZIndex><Value>Database</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox13"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><ZIndex>12</ZIndex><Value>Mailboxes
(On Database)</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell></TableCells><Height>0.375in</Height></TableRow></TableRows><RepeatOnNewPage>true</RepeatOnNewPage></Header><TableGroups><TableGroup><Grouping Name="table1_Group1"><GroupExpressions><GroupExpression>=Fields!Server.Value</GroupExpression><GroupExpression>=Fields!Time.Value</GroupExpression></GroupExpressions></Grouping><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox11"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Left>Solid</Left><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox11</DefaultName><ZIndex>11</ZIndex><Value>=Fields!Server.Value</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="Time"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Left>Solid</Left><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Format>d</Format><TextAlign>Left</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">Time</DefaultName><ZIndex>10</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox15"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox15</DefaultName><ZIndex>9</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems><ColSpan>5</ColSpan></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows></Header></TableGroup><TableGroup><Grouping Name="table1_Group2"><GroupExpressions><GroupExpression>=Fields!Server.Value</GroupExpression><GroupExpression>=Fields!Time.Value</GroupExpression></GroupExpressions></Grouping><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox18"><Style><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox18</DefaultName><ZIndex>8</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="Time_1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Format>d</Format><TextAlign>Left</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">Time_1</DefaultName><ZIndex>7</ZIndex><Value>=Fields!Time.Value</Value><CanGrow>true</CanGrow></Textbox></ReportItems><ColSpan>6</ColSpan></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows></Header></TableGroup></TableGroups><Details><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="Server_1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">Server_1</DefaultName><ZIndex>6</ZIndex><Value /><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox19"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Left>Solid</Left></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox19</DefaultName><ZIndex>5</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="ExgServerMailboxs"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">ExgServerMailboxs</DefaultName><ZIndex>4</ZIndex><Value>=iif(Fields!ExgServerMailboxs.Value &gt; 0.0,Fields!ExgServerMailboxs.Value,"")</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="ExgStorageGroup"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Format>P</Format><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">ExgStorageGroup</DefaultName><ZIndex>3</ZIndex><Value>=Fields!ExgStorageGroup.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="ExgStorageGroupMailboxs"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">ExgStorageGroupMailboxs</DefaultName><ZIndex>2</ZIndex><Value>=iif(Fields!ExgStorageGroupMailboxs.Value &gt; 0.0,Fields!ExgStorageGroupMailboxs.Value,"")</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox9"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><ZIndex>1</ZIndex><Value>=Fields!ExgMailboxDBName.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox14"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><Value>=iif(Fields!ExgMailboxDBMailboxs.Value &gt; 0.0,Fields!ExgMailboxDBMailboxs.Value ,"")</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting></Details></Table></ReportItems><Style><BorderWidth><Default>0.5pt</Default></BorderWidth></Style><Height>11in</Height><ColumnSpacing>0.25in</ColumnSpacing></Body><TopMargin>1in</TopMargin><DataSources><DataSource Name="SCDW"><rd:DataSourceID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">fb44cba7-75a7-4314-b2a5-1fce44701d23</rd:DataSourceID><DataSourceReference>SCDW</DataSourceReference></DataSource></DataSources><Code>public function CurrentTimeZone() as string 
	CurrentTimeZone = System.TimeZone.CurrentTimeZone.StandardName
end function

public function FormatNumber(fieldValue, formatString) as string 
	if (fieldValue is Nothing)
		FormatNumber = "Not Available"
	else
		FormatNumber = Format(fieldValue,formatString)
	end if
end function

public function ServerName(EventMessages as String) as string 
	Dim myArray
	myArray = Split(EventMessages, ";", -1, 1)
	ServerName = myArray(0)
end function
public function ServerMailboxes(EventMessages as String) as string 
	Dim myArray
	myArray = Split(EventMessages, ";", -1, 1)
	ServerMailboxes = myArray(1)
end function
public function StorageGroup(EventMessages as String) as string 
	Dim myArray
	myArray = Split(EventMessages, ";", -1, 1)
	StorageGroup = myArray(2)
end function
public function StorageGroupMailboxes(EventMessages as String) as string 
	Dim myArray
	myArray = Split(EventMessages, ";", -1, 1)
	StorageGroupMailboxes = myArray(3)
end function
public function Database(EventMessages as String) as string 
	Dim myArray
	myArray = Split(EventMessages, ";", -1, 1)
	Database = myArray(4)
end function
public function DatabaseMailboxes(EventMessages as String) as string 
	Dim myArray
	myArray = Split(EventMessages, ";", -1, 1)
	DatabaseMailboxes = myArray(5)
end function
</Code><Width>11in</Width><DataSets><DataSet Name="CurrentDate"><Fields><Field Name="BeginDate"><DataField>BeginDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="EndDate"><DataField>EndDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     BeginDate, EndDate
FROM         fn_GetDateRange(1) fn_GetDateRange</CommandText><Timeout>0</Timeout></Query></DataSet><DataSet Name="ComputerList"><Fields><Field Name="Computer"><DataField>Computer</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT DISTINCT SourceClassInstanceKeyValue AS Computer
FROM         [SC_Class_Rel_Computer-Exchange_View]
UNION
SELECT     '&lt;ALL&gt;'
ORDER BY Computer</CommandText><Timeout>3000000</Timeout></Query></DataSet><DataSet Name="CompGroup"><Fields><Field Name="CompGroup"><DataField>CompGroup</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     CompGroup
FROM         fn_ListComputerGroups()</CommandText><Timeout>3000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet><DataSet Name="Exchange2000Mailboxes"><Fields><Field Name="Server"><DataField>Server</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="Time"><DataField>Time</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="ExgServer"><DataField>ExgServer</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="ExgServerMailboxs"><DataField>ExgServerMailboxs</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="ExgStorageGroup"><DataField>ExgStorageGroup</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="ExgStorageGroupMailboxs"><DataField>ExgStorageGroupMailboxs</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="ExgMailboxDBName"><DataField>ExgMailboxDBName</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="ExgMailboxDBMailboxs"><DataField>ExgMailboxDBMailboxs</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>BEGIN
	/* Create temp table for spliting the following field information */
	CREATE TABLE #ExchangeMailboxsReport (
		Server 			nvarchar(256),
		[Time]			datetime,
		ExgServer		nvarchar(256),
		ExgServerMailboxs	nvarchar(32),
		ExgStorageGroup 	nvarchar(256),
		ExgStorageGroupMailboxs	nvarchar(32),
		ExgMailboxDBName 	nvarchar(256),
		ExgMailboxDBMailboxs 	nvarchar(32)
	)

	Declare @EventString 		nvarchar(4000) 
	Declare @Server 		nvarchar(256)
	Declare @Time		datetime
	Declare @ExgServer 		nvarchar(256)
	Declare	@ExgServerMailboxs	nvarchar(32)
	Declare	@ExgStorageGroup 	nvarchar(256)
	Declare	@ExgStorageGroupMailboxs nvarchar(32)
	Declare	@ExgMailboxDBName 	nvarchar(256)
	Declare	@ExgMailboxDBMailboxs 	nvarchar(32)
	Declare @I			integer
	Declare @J			integer
	DECLARE @nPositionCtr int
	DECLARE @nLen AS int 
        DECLARE @nStart AS int
        DECLARE @nEndIndex int
	Declare Mailboxs cursor for
   		SELECT  
			CD.FullComputerName AS Server, 
			Time=cast(convert(nvarchar(32),EF.LocalDateTimeGenerated,101) as datetime) ,
			EF.EventMessage AS EventMessage
    		FROM    
			SC_EventFact_View EF INNER JOIN
        		SC_EventDetailDimension_View EDD ON EDD.SMC_InstanceID = EF.EventDetail_FK INNER JOIN
        		dbo.SC_ComputerDimension_View CD ON CD.SMC_InstanceID = EF.Computer_FK          
    		WHERE    (@Computer = '&lt;ALL&gt;' or CD.FullComputerName =@Computer) and 
	EF.LocalDateTimeGenerated  between @BeginDate and @EndDate and 
			EDD.EventID_PK in (9010) and EDD.EventSource_PK ='Exchange MOM'
	OPEN Mailboxs
	FETCH NEXT FROM Mailboxs INTO @Server,@Time,@EventString
	WHILE (@@FETCH_STATUS = 0)
	BEGIN
		Set @I = 0
		set @J = 0		
	        Set @nlen = 0
	        Set @nlen = 0
	        Set @nStart 		= 1		
		set @nPositionCtr 	= 0
		set @nEndIndex 		= 0
		Set @nlen = Len(@EventString)
		/* To find the maximum number of Database occurence in one Each EventString */
	        WHILE (@nStart &lt;= @nlen) 
	        BEGIN
	                set @nEndIndex = charindex(';', @EventString, @nStart)   
			IF @nEndIndex = 0 set @nEndIndex = @nLen + 1                         
	                Set @nStart = @nEndIndex + 1 
			Set @nPositionCtr =@nPositionCtr+1 	       
		end
		/* Spilt the Serer Name, Datbase Size ST. Group and its Sizes.. */
		Set @nStart = 1 
		While @I &lt;  @nPositionCtr
		BEGIN	
			Set @I = @J 
			Set @nEndIndex = charindex(';', @EventString, @nStart)	
			IF @nEndIndex = 0 Break			                        
                        set @ExgServer  	= substring(@EventString, @nStart, @nEndIndex - @nStart)

			set @nStart 		= @nEndIndex + 1 
			Set @nEndIndex 		= charindex(';', @EventString, @nStart)			                      
			Set @ExgServerMailboxs 	= substring(@EventString, @nStart, @nEndIndex - @nStart)

			set @nStart 		= @nEndIndex + 1 
			Set @nEndIndex 		= charindex(';', @EventString, @nStart)			
            		Set @ExgStorageGroup 	= substring(@EventString, @nStart, @nEndIndex - @nStart)

			set @nStart 		= @nEndIndex + 1
			Set @nEndIndex 		= charindex(';', @EventString, @nStart) 
			Set @ExgStorageGroupMailboxs = substring(@EventString, @nStart, @nEndIndex - @nStart)
	
			set @nStart 		= @nEndIndex + 1 
			Set @nEndIndex 		= charindex(';', @EventString, @nStart)			
			Set @ExgMailboxDBName	= substring(@EventString, @nStart, @nEndIndex - @nStart)
	
			set @nStart 		= @nEndIndex + 1
			Set @nEndIndex 		= charindex(';', @EventString, @nStart) 
			Set @ExgMailboxDBMailboxs	= substring(@EventString, @nStart, @nEndIndex - @nStart)
			set @nStart 		= @nEndIndex + 1 
					
			INSERT INTO #ExchangeMailBoxsReport(Server,[Time],ExgServer,ExgServerMailboxs,ExgStorageGroup,ExgStorageGroupMailboxs,ExgMailboxDBName,ExgMailboxDBMailboxs)
			       values(@Server,@Time,@ExgServer,@ExgServerMailboxs,@ExgStorageGroup,@ExgStorageGroupMailboxs,@ExgMailboxDBName,@ExgMailboxDBMailboxs) 		
			Set @J = @J + 6
		END
		FETCH NEXT FROM Mailboxs INTO @Server,@Time,@EventString
	END
	Select 
		Server,
		[Time],
		ExgServer,
		ExgServerMailboxs = cast (ExgServerMailboxs as float),
		ExgStorageGroup,
		ExgStorageGroupMailboxs = cast (ExgStorageGroupMailboxs as float),
		ExgMailboxDBName,
		ExgMailboxDBMailboxs  = cast (ExgMailboxDBMailboxs as float)
	from #ExchangeMailboxsReport 
	where ExgMailboxDBMailboxs != '' 
	Close Mailboxs
	Deallocate Mailboxs
END</CommandText><QueryParameters><QueryParameter Name="@Computer"><Value>=Parameters!Computer.Value</Value></QueryParameter><QueryParameter Name="@BeginDate"><Value>=Parameters!BeginDate.Value</Value></QueryParameter><QueryParameter Name="@EndDate"><Value>=Parameters!EndDate.Value</Value></QueryParameter></QueryParameters><Timeout>3000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet></DataSets><LeftMargin>1in</LeftMargin><rd:SnapToGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:SnapToGrid><rd:DrawGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:DrawGrid><Description /><PageWidth>13in</PageWidth><rd:ReportID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">212d782b-9718-4b8d-a1c1-2bd72afd7b82</rd:ReportID><PageFooter><ReportItems><Textbox Name="textboxPageNumber_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.2in</Top><Height>0.25in</Height><Value>="Page " &amp; Globals.PageNumber &amp; "/" &amp; Globals.TotalPages</Value><Left>4in</Left></Textbox><Textbox Name="textbox1DateTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><Top>0.2in</Top><Height>0.25in</Height><Width>4in</Width><Value>="All dates and  times shown in " &amp; Code.CurrentTimeZone()</Value></Textbox></ReportItems><PrintOnLastPage>true</PrintOnLastPage><PrintOnFirstPage>true</PrintOnFirstPage><Style /><Height>0.5in</Height></PageFooter><BottomMargin>1in</BottomMargin><ReportParameters><ReportParameter Name="BeginDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>BeginDate</ValueField></DataSetReference></DefaultValue><Prompt>Begin Date</Prompt></ReportParameter><ReportParameter Name="EndDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>EndDate</ValueField></DataSetReference></DefaultValue><Prompt>End Date</Prompt></ReportParameter><ReportParameter Name="Computer"><DataType>String</DataType><Prompt>Server</Prompt><ValidValues><DataSetReference><DataSetName>ComputerList</DataSetName><ValueField>Computer</ValueField><LabelField>Computer</LabelField></DataSetReference></ValidValues></ReportParameter><ReportParameter Name="SortBy"><DataType>String</DataType><DefaultValue><Values><Value>Server</Value></Values></DefaultValue><Prompt>Sort By</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Server</Value></ParameterValue><ParameterValue><Value>Time</Value><Label>Date</Label></ParameterValue></ParameterValues></ValidValues></ReportParameter><ReportParameter Name="Direction"><DataType>String</DataType><DefaultValue><Values><Value>Ascending</Value></Values></DefaultValue><Prompt>Sort Order</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Ascending</Value></ParameterValue><ParameterValue><Value>Descending</Value></ParameterValue></ParameterValues></ValidValues></ReportParameter></ReportParameters></Report>]]></ReportDefinition>
  </ReportItem>
  <ReportItem>
    <Name>Exchange Server Availability</Name>
    <Type>Report</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/Exchange 2000 and 2003 Health Monitoring and Operations/Exchange Server Availability</Path>
    <ReportDefinition><![CDATA[<?xml version='1.0' encoding='utf-8'?><Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportdefinition"><rd:GridSpacing xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">0.05in</rd:GridSpacing><RightMargin>1in</RightMargin><Body><ReportItems><Textbox Name="textboxRightLogo"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/2Inch_Logo.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>6</ZIndex><Height>0.5625in</Height><Value /><Left>9in</Left></Textbox><Textbox Name="textboxReportTitle_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/9Inch_Banner.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>5</ZIndex><Height>0.5625in</Height><Width>9in</Width><CanGrow>true</CanGrow><Value>Exchange Server Availability</Value></Textbox><Textbox Name="textboxExecutionTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>4</ZIndex><Top>0.5625in</Top><Height>0.25in</Height><Value>=Globals.ExecutionTime</Value><Left>9in</Left></Textbox><Textbox Name="textboxParameterValue_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.375in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!Computer.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterValue_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.25in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!BeginDate.Value &amp; " - " &amp; Parameters!EndDate.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterName_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.375in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Server :</Value></Textbox><Textbox Name="textboxParameterName_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.25in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Date Range :</Value></Textbox><Textbox Name="textboxDescription_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>GhostWhite</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.8125in</Top><ToggleImage><InitialState>true</InitialState></ToggleImage><Height>0.375in</Height><Visibility><ToggleItem>textboxDescriptionHeading_tmp</ToggleItem><Hidden>true</Hidden></Visibility><CanGrow>true</CanGrow><Value>= "This report summarizes the percentage server availability for Exchange 2000/2003 servers during the specified time period. Percentage availability and unavailability are listed with the reasons for unavailability. For the most accurate results, specify times in increments of 5 minutes when selecting the criteria for this report (e.g. 0:00, 0:05, 0:10, etc)."  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "The following rules need to be enabled for data to be collected:"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "For Exchange 2000 Server:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server\Exchange 2000\ Availability and State Monitoring\MAPI Logon Check\"  &amp; VbCrLf &amp;  "–       Check mailbox store availability - MAPI logon test"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "For Exchange Server 2003:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server\Exchange 2003\Availability and State Monitoring\MAPI Logon Check and Availability Reporting\"  &amp; VbCrLf &amp;  "–       Check mailbox store availability - MAPI logon test" </Value></Textbox><Textbox Name="textboxDescriptionHeading_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><Top>0.5625in</Top><Height>0.25in</Height><Width>9in</Width><CanGrow>true</CanGrow><Value>Description</Value></Textbox><Table Name="table1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle></Style><Top>1.75in</Top><Height>0.625in</Height><ZIndex>1</ZIndex><NoRows>= "There is no data available for this report. This can occur when there is no relevant data available for collection, the reports’ dependent rules are not enabled or when none of the relevant data has been copied to the Reporting database." </NoRows><DataSetName>ExchangeServerAvail</DataSetName><TableColumns><TableColumn><Width>2.25in</Width></TableColumn><TableColumn><Width>2.25in</Width></TableColumn><TableColumn><Width>1in</Width></TableColumn><TableColumn><Width>0.875in</Width></TableColumn><TableColumn><Width>1.125in</Width></TableColumn><TableColumn><Width>1.375in</Width></TableColumn><TableColumn><Width>0.875in</Width></TableColumn><TableColumn><Width>1.25in</Width></TableColumn></TableColumns><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox3"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox3</DefaultName><ZIndex>15</ZIndex><Value>Server</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox4"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Left</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox4</DefaultName><ZIndex>14</ZIndex><Value>Database</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox5"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox5</DefaultName><ZIndex>13</ZIndex><Value>Availability %</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox12"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox12</DefaultName><ZIndex>12</ZIndex><Value>Success/ Expected</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox8"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><ZIndex>11</ZIndex><Value>Exchange Unavailable %</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox13"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><ZIndex>10</ZIndex><Value>DC unavailable for authentication %</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox15"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox15</DefaultName><ZIndex>9</ZIndex><Value>Other Failures %</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox18"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox18</DefaultName><ZIndex>8</ZIndex><Value>No Measurements %</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell></TableCells><Height>0.375in</Height></TableRow></TableRows><RepeatOnNewPage>true</RepeatOnNewPage></Header><Details><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="Server"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">Server</DefaultName><ZIndex>7</ZIndex><Value>=Fields!Server.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="MDB"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">MDB</DefaultName><ZIndex>6</ZIndex><Value>=Fields!MDB.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="MDBAvailPercent"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Format>P</Format><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">MDBAvailPercent</DefaultName><ZIndex>5</ZIndex><Value>=Format(Fields!MDBAvailPercent.Value,"##0.00")</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="SuccessExpected"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">SuccessExpected</DefaultName><ZIndex>4</ZIndex><Value>=Fields!SuccessExpected.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox9"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><ZIndex>3</ZIndex><Value>=Format(Fields!StoreUnAvailPercent.Value,"##0.00")</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox14"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><ZIndex>2</ZIndex><Value>=Format(Fields!DSUnAvailPercent.Value,"##0.00")</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="OtherFailurePercent"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">OtherFailurePercent</DefaultName><ZIndex>1</ZIndex><Value>=Format(Fields!OtherFailurePercent.Value,"##0.00")</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="NoMeasurePercent"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">NoMeasurePercent</DefaultName><Value>=Format(Fields!NoMeasurePercent.Value,"##0.00")</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting></Details></Table></ReportItems><Style><BorderWidth><Default>0.5pt</Default></BorderWidth></Style><Height>11in</Height><ColumnSpacing>0.25in</ColumnSpacing></Body><TopMargin>1in</TopMargin><DataSources><DataSource Name="SCDW"><rd:DataSourceID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">fb44cba7-75a7-4314-b2a5-1fce44701d23</rd:DataSourceID><DataSourceReference>SCDW</DataSourceReference></DataSource></DataSources><Code>public function CurrentTimeZone() as string 
	CurrentTimeZone = System.TimeZone.CurrentTimeZone.StandardName
end function

public function FormatNumber(fieldValue, formatString) as string 
	if (fieldValue is Nothing)
		FormatNumber = "Not Available"
	else
		FormatNumber = Format(fieldValue,formatString)
	end if
end function
</Code><Width>11in</Width><DataSets><DataSet Name="CurrentDate"><Fields><Field Name="BeginDate"><DataField>BeginDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="EndDate"><DataField>EndDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     BeginDate, EndDate
FROM         fn_GetDateRange(7) fn_GetDateRange</CommandText><Timeout>0</Timeout></Query></DataSet><DataSet Name="ComputerList"><Fields><Field Name="Computer"><DataField>Computer</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT DISTINCT SourceClassInstanceKeyValue AS Computer
FROM         [SC_Class_Rel_Computer-Exchange_View]
UNION
SELECT     '&lt;ALL&gt;'
ORDER BY Computer</CommandText><Timeout>3000000</Timeout></Query></DataSet><DataSet Name="CompGroup"><Fields><Field Name="CompGroup"><DataField>CompGroup</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     CompGroup
FROM         fn_ListComputerGroups()</CommandText><Timeout>3000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet><DataSet Name="ExchangeServerAvail"><Fields><Field Name="Server"><DataField>Server</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="MDB"><DataField>MDB</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="MDBAvailCount"><DataField>MDBAvailCount</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Int32</TypeName></Field><Field Name="DSUnAvailCount"><DataField>DSUnAvailCount</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Int32</TypeName></Field><Field Name="StoreUnAvailCount"><DataField>StoreUnAvailCount</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Int32</TypeName></Field><Field Name="OtherFailureCount"><DataField>OtherFailureCount</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Int32</TypeName></Field><Field Name="MDBAvailPercent"><DataField>MDBAvailPercent</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Decimal</TypeName></Field><Field Name="DSUnAvailPercent"><DataField>DSUnAvailPercent</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Decimal</TypeName></Field><Field Name="StoreUnAvailPercent"><DataField>StoreUnAvailPercent</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Decimal</TypeName></Field><Field Name="OtherFailurePercent"><DataField>OtherFailurePercent</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Decimal</TypeName></Field><Field Name="NoMeasurePercent"><DataField>NoMeasurePercent</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Decimal</TypeName></Field><Field Name="SuccessExpected"><DataField>SuccessExpected</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="SuccessExpectedRatio"><DataField>SuccessExpectedRatio</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Decimal</TypeName></Field><Field Name="startTime"><DataField>startTime</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="endTime"><DataField>endTime</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT 
	Server, 
	[MDB], 
	SUM(EventNumber9980) AS MDBAvailCount, 
	SUM(EventNumber9981)  AS DSUnAvailCount, 
	SUM(EventNumber9982)  AS StoreUnAvailCount, 
	SUM(EventNumber9983)  AS OtherFailureCount, 
	MDBAvailPercent = SUM(EventNumber9980)*1.0/cast(DateDiff(n,@BeginDate,@EndDate)/5 as integer)*100,
	DSUnAvailPercent  = SUM(EventNumber9981)*1.0/cast(DateDiff(n,@BeginDate,@EndDate)/5 as integer)*100,
	StoreUnAvailPercent = SUM(EventNumber9982)*1.0/cast(DateDiff(n,@BeginDate,@EndDate)/5 as integer)*100,
	OtherFailurePercent = SUM(EventNumber9983)*1.0/cast(DateDiff(n,@BeginDate,@EndDate)/5 as integer)*100,
	NoMeasurePercent  = (100-SUM(EventNumber9980)*1.0/cast(DateDiff(n,@BeginDate,@EndDate)/5 as integer)*100 - SUM(EventNumber9982)*1.0/cast(DateDiff(n,@BeginDate,@EndDate)/5 as integer)*100
				- SUM(EventNumber9981)*1.0/cast(DateDiff(n,@BeginDate,@EndDate)/5 as integer)*100 - SUM(EventNumber9983)*1.0/cast(DateDiff(n,@BeginDate,@EndDate)/5 as integer)*100),
	SuccessExpected = cast(SUM(EventNumber9980) as nvarchar)+'/'+ cast(DateDiff(n,@BeginDate,@EndDate)/5 as nvarchar),
	SuccessExpectedRatio = (SUM(EventNumber9980)*1.0/(DateDiff(n,@BeginDate,@EndDate)/5))*1.0,
	[startTime]=Min(Time), 
	[endTime] = Max(Time)
from
(select  
	CASE  WHEN( EventMessage IS not NULL) 
		then CASE  WHEN( PatIndex( '%MDB:%',EventMessage)&lt;&gt;0) 
		then substring( EventMessage,
			PatIndex( '%MDB:%',EventMessage)+4,
			PatIndex( '%Mailbox:%',EventMessage)-
			PatIndex( '%MDB:%',EventMessage)-5) 
	else NULL END  else NULL END  as MDB,
	Server,
	EventID,
	EventMessage,
	EventNumber,
	Time,
	EventNumber9980=( CASE WHEN(EventNumber=9980) then 1 ELSE 0 END ),
	EventNumber9981=( CASE WHEN(EventNumber=9981) then 1 ELSE 0 END ),
	EventNumber9982=( CASE WHEN(EventNumber=9982) then 1 ELSE 0 END ),
	EventNumber9983=( CASE WHEN(EventNumber=9983) then 1 ELSE 0 END ) 
from 
(SELECT  
	CD.FullComputerName AS Server, 
	EF.EventMessage AS EventMessage, 
        EF.LocalDateTimeGenerated AS Time,
	EDD.EventSource_PK as EventSource,
	EDD.EventID_PK AS EventNumber,
	EF.EventID
FROM    
	SC_EventFact_View EF INNER JOIN
        SC_EventDetailDimension_View EDD ON EDD.SMC_InstanceID = EF.EventDetail_FK INNER JOIN
        dbo.SC_ComputerDimension_View CD ON CD.SMC_InstanceID = EF.Computer_FK          
WHERE   EDD.EventID_PK in (9980,9981,9982,9983) and EDD.EventSource_PK ='Exchange MOM' and EF.LocalDateTimeGenerated  between @BeginDate and @EndDate and (@Computer = '&lt;ALL&gt;' or CD.FullComputerName =@Computer)


) temp1 

) temp2
group by Server,[MDB]</CommandText><QueryParameters><QueryParameter Name="@BeginDate"><Value>=Parameters!BeginDate.Value</Value></QueryParameter><QueryParameter Name="@EndDate"><Value>=Parameters!EndDate.Value</Value></QueryParameter><QueryParameter Name="@Computer"><Value>=Parameters!Computer.Value</Value></QueryParameter></QueryParameters><Timeout>3000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet></DataSets><LeftMargin>1in</LeftMargin><rd:SnapToGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:SnapToGrid><rd:DrawGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:DrawGrid><Description /><PageWidth>13in</PageWidth><rd:ReportID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">212d782b-9718-4b8d-a1c1-2bd72afd7b82</rd:ReportID><PageFooter><ReportItems><Textbox Name="textboxPageNumber_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.2in</Top><Height>0.25in</Height><Value>="Page " &amp; Globals.PageNumber &amp; "/" &amp; Globals.TotalPages</Value><Left>4in</Left></Textbox><Textbox Name="textbox1DateTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><Top>0.2in</Top><Height>0.25in</Height><Width>4in</Width><Value>="All dates and  times shown in " &amp; Code.CurrentTimeZone()</Value></Textbox></ReportItems><PrintOnLastPage>true</PrintOnLastPage><PrintOnFirstPage>true</PrintOnFirstPage><Style /><Height>0.5in</Height></PageFooter><BottomMargin>1in</BottomMargin><ReportParameters><ReportParameter Name="BeginDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>BeginDate</ValueField></DataSetReference></DefaultValue><Prompt>Begin Date</Prompt></ReportParameter><ReportParameter Name="EndDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>EndDate</ValueField></DataSetReference></DefaultValue><Prompt>End Date</Prompt></ReportParameter><ReportParameter Name="Computer"><DataType>String</DataType><Prompt>Server</Prompt><ValidValues><DataSetReference><DataSetName>ComputerList</DataSetName><ValueField>Computer</ValueField><LabelField>Computer</LabelField></DataSetReference></ValidValues></ReportParameter><ReportParameter Name="SortBy"><DataType>String</DataType><DefaultValue><Values><Value>MDBAvailPercent</Value></Values></DefaultValue><Prompt>Sort By</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Server</Value></ParameterValue><ParameterValue><Value>MDB</Value><Label>Database</Label></ParameterValue><ParameterValue><Value>MDBAvailPercent</Value><Label>Availability %</Label></ParameterValue><ParameterValue><Value>SuccessExpectedRatio</Value><Label>Success/Expected</Label></ParameterValue><ParameterValue><Value>StoreUnAvailPercent</Value><Label>Exchange Unavailable %</Label></ParameterValue><ParameterValue><Value>DSUnAvailPercent</Value><Label>DC unavailable for authentication %</Label></ParameterValue><ParameterValue><Value>OtherFailurePercent</Value><Label>Other Failures</Label></ParameterValue><ParameterValue><Value>NoMeasurePercent</Value><Label>No Measurement</Label></ParameterValue></ParameterValues></ValidValues></ReportParameter><ReportParameter Name="Direction"><DataType>String</DataType><DefaultValue><Values><Value>Descending</Value></Values></DefaultValue><Prompt>Sort Order</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Ascending</Value></ParameterValue><ParameterValue><Value>Descending</Value></ParameterValue></ParameterValues></ValidValues></ReportParameter></ReportParameters></Report>]]></ReportDefinition>
  </ReportItem>
  <ReportItem>
    <Name>Exchange Server Configuration</Name>
    <Type>Report</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/Exchange 2000 and 2003 Health Monitoring and Operations/Exchange Server Configuration</Path>
    <ReportDefinition><![CDATA[<?xml version='1.0' encoding='utf-8'?><Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportdefinition"><rd:GridSpacing xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">0.05in</rd:GridSpacing><RightMargin>1in</RightMargin><Body><ReportItems><Textbox Name="textboxRightLogo"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/2Inch_Logo.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>6</ZIndex><Height>0.5625in</Height><Value /><Left>4.5in</Left></Textbox><Textbox Name="textboxReportTitle_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/4.5Inch_Banner.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>5</ZIndex><Height>0.5625in</Height><Width>4.5in</Width><Value>Exchange Server Configuration</Value></Textbox><Textbox Name="textboxExecutionTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>4</ZIndex><Top>0.5625in</Top><Height>0.25in</Height><Value>=Globals.ExecutionTime</Value><Left>4.5in</Left></Textbox><Textbox Name="textboxParameterValue_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.375in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!Computer.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterValue_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.25in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!BeginDate.Value &amp; " - " &amp; Parameters!EndDate.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterName_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.375in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Server :</Value></Textbox><Textbox Name="textboxParameterName_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.25in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Date Range :</Value></Textbox><Textbox Name="textboxDescription_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>GhostWhite</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.8125in</Top><ToggleImage><InitialState>true</InitialState></ToggleImage><Height>0.375in</Height><Visibility><ToggleItem>textboxDescriptionHeading_tmp</ToggleItem><Hidden>true</Hidden></Visibility><CanGrow>true</CanGrow><Value>= "There is no data available for this report. This can occur when there is no relevant data available for collection, the reports’ dependent rules are not enabled or when none of the relevant data has been copied to the Reporting database."  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "For Exchange Server 2000:"  &amp; VbCrLf &amp;  "–    Microsoft Exchange Server\Exchange 2000\Server Utilization Logging: Reporting and Views\Report Collection\"  &amp; VbCrLf &amp;  "–    Report Collection - Exchange 2000 Server Configuration Information"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "For Exchange Server 2003:"  &amp; VbCrLf &amp;  "–    Microsoft Exchange Server\Exchange 2003\Report Collection Rules\Exchange Server Configuration\"  &amp; VbCrLf &amp;  "–    Report Collection - Exchange 2003 Server Configuration Information"  &amp; VbCrLf &amp;  "" </Value></Textbox><Textbox Name="textboxDescriptionHeading_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><Top>0.5625in</Top><Height>0.25in</Height><Width>4.5in</Width><CanGrow>true</CanGrow><Value>Description</Value></Textbox><Table Name="table1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BorderWidth><Default>0.25pt</Default></BorderWidth></Style><Top>1.75in</Top><Height>0.75in</Height><Width>6.475in</Width><ZIndex>1</ZIndex><NoRows>= "There is no data available for this report. This can occur when there is no relevant data available for collection, the reports’ dependent rules are not enabled or when none of the relevant data has been copied to the Reporting database." </NoRows><DataSetName>ExchangeServerConfig</DataSetName><TableColumns><TableColumn><Width>1.86779in</Width></TableColumn><TableColumn><Width>1.49423in</Width></TableColumn><TableColumn><Width>3.11298in</Width></TableColumn></TableColumns><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox11"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox11</DefaultName><ZIndex>7</ZIndex><Value>Server</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox3"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Left</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox3</DefaultName><ZIndex>6</ZIndex><Value>Date</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox4"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Left</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox4</DefaultName><ZIndex>5</ZIndex><Value>Configuration Information</Value></Textbox></ReportItems></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows><RepeatOnNewPage>true</RepeatOnNewPage></Header><TableGroups><TableGroup><Grouping Name="table1_Group1"><GroupExpressions><GroupExpression>=Fields!Server.Value</GroupExpression></GroupExpressions></Grouping><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox5"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Left>Solid</Left><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox5</DefaultName><ZIndex>4</ZIndex><Value>=Fields!Server.Value</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox8"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Right>Solid</Right><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox8</DefaultName><ZIndex>3</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems><ColSpan>2</ColSpan></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows></Header></TableGroup></TableGroups><Details><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="InstanceName"><Style><BorderColor><Default>LightGrey</Default></BorderColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">InstanceName</DefaultName><ZIndex>2</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="Time"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">Time</DefaultName><ZIndex>1</ZIndex><Value>=Fields!Time.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="EventMessage"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">EventMessage</DefaultName><Value>=code.ConfigInfo(Fields!EventMessage.Value)</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting></Details></Table></ReportItems><Style><BorderWidth><Default>0.5pt</Default></BorderWidth></Style><Height>11in</Height><ColumnSpacing>0.25in</ColumnSpacing></Body><TopMargin>1in</TopMargin><DataSources><DataSource Name="SCDW"><rd:DataSourceID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">fb44cba7-75a7-4314-b2a5-1fce44701d23</rd:DataSourceID><DataSourceReference>SCDW</DataSourceReference></DataSource></DataSources><Code>public function CurrentTimeZone() as string 
	CurrentTimeZone = System.TimeZone.CurrentTimeZone.StandardName
end function

public function FormatNumber(fieldValue, formatString) as string 
	if (fieldValue is Nothing)
		FormatNumber = "Not Available"
	else
		FormatNumber = Format(fieldValue,formatString)
	end if
end function


public function ConfigInfo(EventMessage as String) as string 
	Dim DBSize
	Dim myArray
	myArray = Replace(EventMessage, vbCr,VbCrLf)
	ConfigInfo = myArray
end function</Code><Width>6.5in</Width><DataSets><DataSet Name="CurrentDate"><Fields><Field Name="BeginDate"><DataField>BeginDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="EndDate"><DataField>EndDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     BeginDate, EndDate
FROM         fn_GetDateRange(1) fn_GetDateRange</CommandText><Timeout>0</Timeout></Query></DataSet><DataSet Name="ComputerList"><Fields><Field Name="Computer"><DataField>Computer</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT DISTINCT SourceClassInstanceKeyValue AS Computer
FROM         [SC_Class_Rel_Computer-Exchange_View]
UNION
SELECT     '&lt;ALL&gt;'
ORDER BY Computer</CommandText><Timeout>3000000</Timeout></Query></DataSet><DataSet Name="CompGroup"><Fields><Field Name="CompGroup"><DataField>CompGroup</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     CompGroup
FROM         fn_ListComputerGroups()</CommandText><Timeout>3000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet><DataSet Name="ExchangeServerConfig"><Fields><Field Name="Server"><DataField>Server</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="Time"><DataField>Time</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="EventMessage"><DataField>EventMessage</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT  
	CD.FullComputerName AS Server,  
        EF.LocalDateTimeGenerated AS Time,
	EF.EventMessage AS EventMessage
FROM    
	SC_EventFact_View EF INNER JOIN
        SC_EventDetailDimension_View EDD ON EDD.SMC_InstanceID = EF.EventDetail_FK INNER JOIN
        dbo.SC_ComputerDimension_View CD ON CD.SMC_InstanceID = EF.Computer_FK          
WHERE   EDD.EventID_PK in (9000,9001,90002,90003) and EDD.EventSource_PK ='Exchange MOM'
 	and EF.LocalDateTimeGenerated Between @BeginDate and @EndDate and (@Computer='&lt;ALL&gt;' or CD.FullComputerName = @Computer)
order by CD.FullComputerName,EF.LocalDateTimeGenerated</CommandText><QueryParameters><QueryParameter Name="@BeginDate"><Value>=Parameters!BeginDate.Value</Value></QueryParameter><QueryParameter Name="@EndDate"><Value>=Parameters!EndDate.Value</Value></QueryParameter><QueryParameter Name="@Computer"><Value>=Parameters!Computer.Value</Value></QueryParameter></QueryParameters><Timeout>300000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet></DataSets><LeftMargin>1in</LeftMargin><rd:SnapToGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:SnapToGrid><rd:DrawGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:DrawGrid><Description /><rd:ReportID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">212d782b-9718-4b8d-a1c1-2bd72afd7b82</rd:ReportID><PageFooter><ReportItems><Textbox Name="textboxPageNumber_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.25in</Top><Height>0.25in</Height><Value>="Page " &amp; Globals.PageNumber &amp; "/" &amp; Globals.TotalPages</Value><Left>4in</Left></Textbox><Textbox Name="textbox1DateTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><Top>0.25in</Top><Height>0.25in</Height><Width>4in</Width><Value>="All dates and  times shown in " &amp; Code.CurrentTimeZone()</Value></Textbox></ReportItems><PrintOnLastPage>true</PrintOnLastPage><PrintOnFirstPage>true</PrintOnFirstPage><Style /><Height>0.55in</Height></PageFooter><BottomMargin>1in</BottomMargin><ReportParameters><ReportParameter Name="BeginDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>BeginDate</ValueField></DataSetReference></DefaultValue><Prompt>Begin Date</Prompt></ReportParameter><ReportParameter Name="EndDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>EndDate</ValueField></DataSetReference></DefaultValue><Prompt>End Date</Prompt></ReportParameter><ReportParameter Name="Computer"><DataType>String</DataType><Prompt>Server</Prompt><ValidValues><DataSetReference><DataSetName>ComputerList</DataSetName><ValueField>Computer</ValueField><LabelField>Computer</LabelField></DataSetReference></ValidValues></ReportParameter><ReportParameter Name="SortBy"><DataType>String</DataType><DefaultValue><Values><Value>Server</Value></Values></DefaultValue><Prompt>Sort By</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Server</Value></ParameterValue><ParameterValue><Value>Time</Value><Label>Date</Label></ParameterValue><ParameterValue><Value>EventMessage</Value><Label>Configuration Information</Label></ParameterValue></ParameterValues></ValidValues></ReportParameter><ReportParameter Name="Direction"><DataType>String</DataType><DefaultValue><Values><Value>Ascending</Value></Values></DefaultValue><Prompt>Sort Order</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Ascending</Value></ParameterValue><ParameterValue><Value>Descending</Value></ParameterValue></ParameterValues></ValidValues></ReportParameter></ReportParameters></Report>]]></ReportDefinition>
  </ReportItem>
  <ReportItem>
    <Name>SCDW</Name>
    <Type>DataSource</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/Exchange 2000 and 2003 Health Monitoring and Operations/SCDW</Path>
    <DataSourceDefinitionContainer><![CDATA[<?xml version="1.0"?>
<DataSourceDefinition xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Extension xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">SQL</Extension>
  <ConnectString xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">data source=.;initial catalog=SystemCenterReporting</ConnectString>
  <CredentialRetrieval xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">Integrated</CredentialRetrieval>
  <WindowsCredentials xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">false</WindowsCredentials>
  <ImpersonateUser xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">false</ImpersonateUser>
  <Prompt xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">Enter a user name and password to access the data source:</Prompt>
  <Enabled xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">true</Enabled>
</DataSourceDefinition>]]></DataSourceDefinitionContainer>
  </ReportItem>
  <ReportItem>
    <Name>Exchange 2000 and 2003 Protocol Usage</Name>
    <Type>Folder</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/Exchange 2000 and 2003 Protocol Usage</Path>
  </ReportItem>
  <ReportItem>
    <Name>Exchange IMAP4 Usage</Name>
    <Type>Report</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/Exchange 2000 and 2003 Protocol Usage/Exchange IMAP4 Usage</Path>
    <ReportDefinition><![CDATA[<?xml version='1.0' encoding='utf-8'?><Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportdefinition"><rd:GridSpacing xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">0.05in</rd:GridSpacing><RightMargin>1in</RightMargin><Body><ReportItems><Textbox Name="textboxRightLogo"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/2Inch_Logo.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>6</ZIndex><Height>0.5625in</Height><Value /><Left>9in</Left></Textbox><Textbox Name="textboxReportTitle_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/9Inch_Banner.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>5</ZIndex><Height>0.5625in</Height><Width>9in</Width><CanGrow>true</CanGrow><Value>Exchange IMAP4 Usage</Value></Textbox><Textbox Name="textboxExecutionTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>4</ZIndex><Top>0.5625in</Top><Height>0.25in</Height><Value>=Globals.ExecutionTime</Value><Left>9in</Left></Textbox><Textbox Name="textboxParameterValue_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.375in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!Computer.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterValue_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.25in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!BeginDate.Value &amp; " - " &amp; Parameters!EndDate.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterName_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.375in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Server :</Value></Textbox><Textbox Name="textboxParameterName_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.25in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Date Range :</Value></Textbox><Textbox Name="textboxDescription_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>GhostWhite</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.8125in</Top><ToggleImage><InitialState>true</InitialState></ToggleImage><Height>0.375in</Height><Visibility><ToggleItem>textboxDescriptionHeading_tmp</ToggleItem><Hidden>true</Hidden></Visibility><CanGrow>true</CanGrow><Value>= "This report provides Exchange 2000/2003 servers' IMAP4 usage based on key performance counters. The report presents daily total and average for the counters for the specified time period. Highest average for each counter in a ½ hour period is also included with the time of occurrence for the highest average. The data is ordered by server name and date."  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "The following rules need to be enabled for data to be collected:"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "For Exchange 2000 Server:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server\Exchange 2000\Server Utilization Logging: Reporting and Views\ Exchange Usage and Performance Logging\"  &amp; VbCrLf &amp;  "–       IMAP4: Logons / second"  &amp; VbCrLf &amp;  "–       IMAP4: Unique Identifier (UID) commands / second"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "For Exchange Server 2003:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server\Exchange 2003\Performance Counter Logging Rules\Exchange Utilization and Performance\IMAP4 Utilization\"  &amp; VbCrLf &amp;  "–       IMAP4: Logons / second"  &amp; VbCrLf &amp;  "–       IMAP4: Unique Identifier (UID) commands / second" </Value></Textbox><Textbox Name="textboxDescriptionHeading_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><Top>0.5625in</Top><Height>0.25in</Height><Width>9in</Width><CanGrow>true</CanGrow><Value>Description</Value></Textbox><Table Name="table1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle></Style><Top>1.75in</Top><Height>1.125in</Height><Width>10.985in</Width><ZIndex>1</ZIndex><NoRows>= "There is no data available for this report. This can occur when there is no relevant data available for collection, the reports’ dependent rules are not enabled or when none of the relevant data has been copied to the Reporting database." </NoRows><DataSetName>ExchangeIMAP4Usage</DataSetName><TableColumns><TableColumn><Width>2.04372in</Width></TableColumn><TableColumn><Width>1.53279in</Width></TableColumn><TableColumn><Width>2.68238in</Width></TableColumn><TableColumn><Width>0.89413in</Width></TableColumn><TableColumn><Width>1.02186in</Width></TableColumn><TableColumn><Width>1.40506in</Width></TableColumn><TableColumn><Width>1.40506in</Width></TableColumn></TableColumns><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox3"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Left</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox3</DefaultName><ZIndex>19</ZIndex><Value>Server</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox8"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Left</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox8</DefaultName><ZIndex>18</ZIndex><Value>Date</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox5"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Left</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox5</DefaultName><ZIndex>17</ZIndex><Value>Performance Counter</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox4"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox4</DefaultName><ZIndex>16</ZIndex><Value>Total</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox9"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox9</DefaultName><ZIndex>15</ZIndex><Value>Avg. Rate during day</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox12"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox12</DefaultName><ZIndex>14</ZIndex><Value>Highest Avg. Rate in 1/2 hr. period</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox14"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox14</DefaultName><ZIndex>13</ZIndex><Value>Time Period of Highest Avg. rate</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell></TableCells><Height>0.375in</Height></TableRow></TableRows><RepeatOnNewPage>true</RepeatOnNewPage></Header><TableGroups><TableGroup><Grouping Name="table1_Group1"><GroupExpressions><GroupExpression>=Fields!Server.Value</GroupExpression></GroupExpressions></Grouping><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0) </SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox11"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Left>Solid</Left><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox11</DefaultName><ZIndex>12</ZIndex><Value>=Fields!Server.Value</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox13"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox13</DefaultName><ZIndex>11</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox16"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox16</DefaultName><ZIndex>10</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems><ColSpan>5</ColSpan></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows></Header></TableGroup><TableGroup><Grouping Name="table1_Group2"><GroupExpressions><GroupExpression>=Fields!Server.Value</GroupExpression><GroupExpression>=Fields!Date.Value</GroupExpression></GroupExpressions></Grouping><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox31"><Style><BorderColor><Default>LightGrey</Default></BorderColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox31</DefaultName><ZIndex>9</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="Date_1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Left>Solid</Left><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">Date_1</DefaultName><ZIndex>8</ZIndex><Value>=code.FormatDate(Fields!Date.Value)</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox34"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox34</DefaultName><ZIndex>7</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems><ColSpan>5</ColSpan></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows></Header></TableGroup><TableGroup><Grouping Name="table1_Group3"><GroupExpressions><GroupExpression>=Fields!Server.Value</GroupExpression><GroupExpression>=Fields!Date.Value</GroupExpression><GroupExpression>=Fields!CounterName.Value</GroupExpression><GroupExpression>=Fields!DayMaxAvg.Value</GroupExpression><GroupExpression>=Fields!DayTotal.Value</GroupExpression><GroupExpression>=Fields!DayCount.Value</GroupExpression></GroupExpressions></Grouping><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox22"><Style><BorderColor><Default>LightGrey</Default></BorderColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox22</DefaultName><ZIndex>6</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox25"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Left>Solid</Left></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox25</DefaultName><ZIndex>5</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="CounterName_1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">CounterName_1</DefaultName><ZIndex>4</ZIndex><Value>=First(Fields!CounterName.Value)</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="DayTotal"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">DayTotal</DefaultName><ZIndex>3</ZIndex><Value>=First(format(Fields!DayTotal.Value,"######0.00"))</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="DayMaxAvg"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">DayMaxAvg</DefaultName><ZIndex>2</ZIndex><Value>=First(format(Fields!DayAvgRate.Value,"#####0.000000"))</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox29"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox29</DefaultName><ZIndex>1</ZIndex><Value>=First(format(Fields!DayMaxAvg.Value,"#####0.000000"))</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="TimePeriod_1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">TimePeriod_1</DefaultName><Value>=First(Fields!TimePeriod.Value)</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows></Header></TableGroup></TableGroups></Table></ReportItems><Style><BorderWidth><Default>0.5pt</Default></BorderWidth></Style><Height>11in</Height><ColumnSpacing>0.25in</ColumnSpacing></Body><TopMargin>1in</TopMargin><DataSources><DataSource Name="SCDW"><rd:DataSourceID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">fb44cba7-75a7-4314-b2a5-1fce44701d23</rd:DataSourceID><DataSourceReference>SCDW</DataSourceReference></DataSource></DataSources><Code>public function CurrentTimeZone() as string 
	CurrentTimeZone = System.TimeZone.CurrentTimeZone.StandardName
end function

public function FormatNumber(fieldValue, formatString) as string 
	if (fieldValue is Nothing)
		FormatNumber = "Not Available"
	else
		FormatNumber = Format(fieldValue,formatString)
	end if
end function

function formatDate(s) as string
	Dim d as date
	d=s
	formatDate=d.tostring("d")
end function</Code><Width>11in</Width><DataSets><DataSet Name="CurrentDate"><Fields><Field Name="BeginDate"><DataField>BeginDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="EndDate"><DataField>EndDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     BeginDate, EndDate
FROM         fn_GetDateRange(7) fn_GetDateRange</CommandText><Timeout>0</Timeout></Query></DataSet><DataSet Name="ComputerList"><Fields><Field Name="Computer"><DataField>Computer</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT DISTINCT SourceClassInstanceKeyValue AS Computer
FROM         [SC_Class_Rel_Computer-Exchange_View]
UNION
SELECT     '&lt;ALL&gt;'
ORDER BY Computer</CommandText><Timeout>3000000</Timeout></Query></DataSet><DataSet Name="CompGroup"><Fields><Field Name="CompGroup"><DataField>CompGroup</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     CompGroup
FROM         fn_ListComputerGroups()</CommandText><Timeout>3000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet><DataSet Name="ExchangeIMAP4Usage"><Fields><Field Name="Server"><DataField>Server</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="Date"><DataField>Date</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="InstanceName"><DataField>InstanceName</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="CounterName"><DataField>CounterName</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="DayMaxAvg"><DataField>DayMaxAvg</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="DayTotal"><DataField>DayTotal</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="DayCount"><DataField>DayCount</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Int32</TypeName></Field><Field Name="TimePeriod"><DataField>TimePeriod</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="DayAvgRate"><DataField>DayAvgRate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>Select tempT2.Server,tempT2.[Date] ,tempT2.InstanceName,tempT2.CounterName,
	tempT2.DayMaxAvg,tempT2.DayTotal,tempT2.DayCount,
	tempT4.[TimePeriod],
	tempT2.DayTotal/tempT2.DayCount as DayAvgRate
from (
select Server,[Date],InstanceName,CounterName,max(PeriodAvg) as DayMaxAvg,Sum(PeriodTotal) as DayTotal,sum(PeriodCount) as DayCount
from
(SELECT  
	Server 		= CD.FullComputerName,
	InstanceName 	,--= CDD.InstanceName_PK,
	CounterName 	,-- CDD.CounterName_PK,
	[Date] 		= DD.Date,
	[TimePeriod]    = case when datepart(mi,snd.localdatetimesampled) &lt; 31 then cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'00'+' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'29' 
				  else cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'30' +' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'59' end,
	PeriodTotal	= sum(SND.SampleValue),
	PeriodAvg	= avg(SND.SampleValue),
	PeriodCount	= Count(*)
FROM    
                                (SELECT ObjectName = CDD.ObjectName_PK,CounterName = CDD.CounterName_PK,
				   [InstanceName] = CDD.InstanceName_PK, [Scale] = CDD.ScaleFactor,
				   SMC_InstanceID
  				FROM dbo.SC_CounterDetailDimension_View CDD 
				Where 
 				CDD.ObjectName_PK in ('MSExchangeIMAP4') AND 
				CDD.CounterName_PK in ('Login Rate','UID Rate') 
				 ) dtCDD 
         inner join 
	dbo.SC_SampledNumericDataFact_View SND   ON dtCDD.SMC_InstanceID = SND.CounterDetail_FK 
        INNER JOIN
        dbo.SC_ComputerDimension_View CD 	ON CD.SMC_InstanceID = SND.Computer_FK 		
	inner join SC_DateDimension_View DD on DD.SMC_InstanceID=SND.LocalDateSampled_FK
Where 
	   snd.localdatetimesampled  between @BeginDate and @EndDate 
	    and  (@Computer = '&lt;ALL&gt;' or cd.fullcomputerName=@Computer ) --CD.ComputerId=(select computerid from sc_computerDimension_View where fullcomputername=@Computer))

group by CD.FullComputerName,dtCDD.InstanceName,dtCDD.CounterName,DD.Date,
              datepart(hh,snd.localdatetimesampled), case when datepart(mi,snd.localdatetimesampled) &lt; 31 then cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'00'+' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'29' 
				  else cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'30' +' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'59' end
)tempT1
group by Server,[Date],InstanceName,CounterName
) tempT2 

Inner join 

 (select Server,[Date],InstanceName,CounterName,PeriodAvg,[TimePeriod]
from
(SELECT  
	Server 		= CD.FullComputerName,
	InstanceName 	,--= CDD.InstanceName_PK,
	CounterName 	,-- CDD.CounterName_PK,
	[Date] 		= DD.Date,
	[TimePeriod]    = case when datepart(mi,snd.localdatetimesampled) &lt; 31 then cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'00'+' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'29' 
				  else cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'30' +' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'59' end,
	--PeriodTotal	= sum(SND.SampleValue),
	PeriodAvg	= avg(SND.SampleValue)
	--PeriodCount	= Count(*)
FROM    
                                (SELECT ObjectName = CDD.ObjectName_PK,CounterName = CDD.CounterName_PK,
				   [InstanceName] = CDD.InstanceName_PK, [Scale] = CDD.ScaleFactor,
				   SMC_InstanceID
  				FROM dbo.SC_CounterDetailDimension_View CDD
 				Where
				CDD.ObjectName_PK in ('MSExchangeIMAP4') AND 
				CDD.CounterName_PK in ('Login Rate','UID Rate') 
				 ) dtCDD 
         inner join 
	dbo.SC_SampledNumericDataFact_View SND   ON dtCDD.SMC_InstanceID = SND.CounterDetail_FK 
        INNER JOIN
        dbo.SC_ComputerDimension_View CD 	ON CD.SMC_InstanceID = SND.Computer_FK 		
	inner join SC_DateDimension_View DD on DD.SMC_InstanceID=SND.LocalDateSampled_FK
Where 
	   snd.localdatetimesampled  between @BeginDate and @EndDate 
	    and  (@Computer = '&lt;ALL&gt;' or cd.fullcomputerName=@Computer ) --CD.ComputerId=(select computerid from sc_computerDimension_View where fullcomputername=@Computer))
group by CD.FullComputerName,dtCDD.InstanceName,dtCDD.CounterName,DD.Date,
              datepart(hh,snd.localdatetimesampled), case when datepart(mi,snd.localdatetimesampled) &lt; 31 then cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'00'+' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'29' 
				  else cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'30' +' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'59' end
)tempT3)tempT4

on      tempT4.Server = tempT2.Server and
	TempT4.[Date]= tempT2.[Date] and
	tempT4.InstanceName = tempT2.InstanceName and
	tempT4.CounterName  = tempT2.CounterName and
	tempT4.PeriodAvg    = tempT2.DayMaxAvg  
	--TempT4.[Date] between @BeginDate and @EndDate and
	--(@Computer = '&lt;ALL&gt;' or tempT4.Server =@Computer)

order by tempT2.Server,tempT2.[Date]</CommandText><QueryParameters><QueryParameter Name="@BeginDate"><Value>=Parameters!BeginDate.Value</Value></QueryParameter><QueryParameter Name="@EndDate"><Value>=Parameters!EndDate.Value</Value></QueryParameter><QueryParameter Name="@Computer"><Value>=Parameters!Computer.Value</Value></QueryParameter></QueryParameters><Timeout>300000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet></DataSets><LeftMargin>1in</LeftMargin><rd:SnapToGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:SnapToGrid><rd:DrawGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:DrawGrid><Description /><PageWidth>13in</PageWidth><rd:ReportID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">212d782b-9718-4b8d-a1c1-2bd72afd7b82</rd:ReportID><PageFooter><ReportItems><Textbox Name="textboxPageNumber_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.2in</Top><Height>0.25in</Height><Value>="Page " &amp; Globals.PageNumber &amp; "/" &amp; Globals.TotalPages</Value><Left>4in</Left></Textbox><Textbox Name="textbox1DateTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><Top>0.2in</Top><Height>0.25in</Height><Width>4in</Width><Value>="All dates and  times shown in " &amp; Code.CurrentTimeZone()</Value></Textbox></ReportItems><PrintOnLastPage>true</PrintOnLastPage><PrintOnFirstPage>true</PrintOnFirstPage><Style /><Height>0.5in</Height></PageFooter><BottomMargin>1in</BottomMargin><ReportParameters><ReportParameter Name="BeginDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>BeginDate</ValueField></DataSetReference></DefaultValue><Prompt>Begin Date</Prompt></ReportParameter><ReportParameter Name="EndDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>EndDate</ValueField></DataSetReference></DefaultValue><Prompt>End Date</Prompt></ReportParameter><ReportParameter Name="Computer"><DataType>String</DataType><Prompt>Server</Prompt><ValidValues><DataSetReference><DataSetName>ComputerList</DataSetName><ValueField>Computer</ValueField><LabelField>Computer</LabelField></DataSetReference></ValidValues></ReportParameter><ReportParameter Name="SortBy"><DataType>String</DataType><DefaultValue><Values><Value>Server</Value></Values></DefaultValue><Prompt>Sort By</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Server</Value></ParameterValue><ParameterValue><Value>Date</Value></ParameterValue><ParameterValue><Value>CounterName</Value><Label>Performance Counter</Label></ParameterValue><ParameterValue><Value>DayTotal</Value><Label>Total</Label></ParameterValue><ParameterValue><Value>DayAvgRate</Value><Label>Avg. Rate during day</Label></ParameterValue><ParameterValue><Value>DayMaxAvg</Value><Label>Highest Avg. Rate in 1/2 hr. period</Label></ParameterValue><ParameterValue><Value>TimePeriod</Value><Label>Time Period of Highest Avg. Rate</Label></ParameterValue></ParameterValues></ValidValues></ReportParameter><ReportParameter Name="Direction"><DataType>String</DataType><DefaultValue><Values><Value>Ascending</Value></Values></DefaultValue><Prompt>Sort Order</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Ascending</Value></ParameterValue><ParameterValue><Value>Descending</Value></ParameterValue></ParameterValues></ValidValues></ReportParameter></ReportParameters></Report>]]></ReportDefinition>
  </ReportItem>
  <ReportItem>
    <Name>Exchange Information Store Usage</Name>
    <Type>Report</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/Exchange 2000 and 2003 Protocol Usage/Exchange Information Store Usage</Path>
    <ReportDefinition><![CDATA[<?xml version='1.0' encoding='utf-8'?><Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportdefinition"><rd:GridSpacing xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">0.05in</rd:GridSpacing><RightMargin>1in</RightMargin><Body><ReportItems><Textbox Name="textboxRightLogo"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/2Inch_Logo.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>6</ZIndex><Height>0.5625in</Height><Value /><Left>9in</Left></Textbox><Textbox Name="textboxReportTitle_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/9Inch_Banner.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>5</ZIndex><Height>0.5625in</Height><Width>9in</Width><CanGrow>true</CanGrow><Value>Exchange Information Store Usage</Value></Textbox><Textbox Name="textboxExecutionTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>4</ZIndex><Top>0.5625in</Top><Height>0.25in</Height><Value>=Globals.ExecutionTime</Value><Left>9in</Left></Textbox><Textbox Name="textboxParameterValue_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.375in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!Computer.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterValue_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.25in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!BeginDate.Value &amp; " - " &amp; Parameters!EndDate.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterName_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.375in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Server :</Value></Textbox><Textbox Name="textboxParameterName_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.25in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Date Range :</Value></Textbox><Textbox Name="textboxDescription_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>GhostWhite</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.8125in</Top><ToggleImage><InitialState>true</InitialState></ToggleImage><Height>0.375in</Height><Visibility><ToggleItem>textboxDescriptionHeading_tmp</ToggleItem><Hidden>true</Hidden></Visibility><CanGrow>true</CanGrow><Value>= "This report provides Exchange 2000/2003 servers' Information store usage based on key performance counters. The report presents daily total and average for the counters for the specified time period. Highest average for each counter in a ½ hour period is also included with the time of occurrence for the highest average. The data is ordered by server name and date."  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "The following rules need to be enabled for data to be collected:"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "For Exchange 2000 Server:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server\Exchange 2000\Performance Counter Logging Rules\Exchange Utilization and Performance\Performance Rules"  &amp; VbCrLf &amp;  "–       Remote Procedure Call (RPC) Operations / second"  &amp; VbCrLf &amp;  "–       Remote Procedure Call (RPC) Requests"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "For Exchange Server 2003:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server\Exchange 2003\Performance Counter Logging Rules\Exchange Utilization and Performance\Remote Procedure Calls\"  &amp; VbCrLf &amp;  "–       Remote Procedure Call (RPC) Operations / second"  &amp; VbCrLf &amp;  "–       Remote Procedure Call (RPC) Requests" </Value></Textbox><Textbox Name="textboxDescriptionHeading_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><Top>0.5625in</Top><Height>0.25in</Height><Width>9in</Width><CanGrow>true</CanGrow><Value>Description</Value></Textbox><Table Name="table1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle></Style><Top>1.75in</Top><Height>1.125in</Height><Width>10.985in</Width><ZIndex>1</ZIndex><NoRows>= "There is no data available for this report. This can occur when there is no relevant data available for collection, the reports’ dependent rules are not enabled or when none of the relevant data has been copied to the Reporting database." </NoRows><DataSetName>ExchangeIStoreUsage</DataSetName><TableColumns><TableColumn><Width>2.04372in</Width></TableColumn><TableColumn><Width>1.53279in</Width></TableColumn><TableColumn><Width>2.68238in</Width></TableColumn><TableColumn><Width>0.89413in</Width></TableColumn><TableColumn><Width>1.02186in</Width></TableColumn><TableColumn><Width>1.40506in</Width></TableColumn><TableColumn><Width>1.40506in</Width></TableColumn></TableColumns><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox3"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Left</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox3</DefaultName><ZIndex>19</ZIndex><Value>Server</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox8"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Left</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox8</DefaultName><ZIndex>18</ZIndex><Value>Date</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox5"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Left</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox5</DefaultName><ZIndex>17</ZIndex><Value>Performance Counter</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox4"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox4</DefaultName><ZIndex>16</ZIndex><Value>Total</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox9"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox9</DefaultName><ZIndex>15</ZIndex><Value>Avg. Rate during day</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox12"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox12</DefaultName><ZIndex>14</ZIndex><Value>Highest Avg. Rate in 1/2 hr. period</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox14"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox14</DefaultName><ZIndex>13</ZIndex><Value>Time Period of Highest Avg. rate</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell></TableCells><Height>0.375in</Height></TableRow></TableRows><RepeatOnNewPage>true</RepeatOnNewPage></Header><TableGroups><TableGroup><Grouping Name="table1_Group1"><GroupExpressions><GroupExpression>=Fields!Server.Value</GroupExpression></GroupExpressions></Grouping><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0) </SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox11"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Left>Solid</Left><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox11</DefaultName><ZIndex>12</ZIndex><Value>=Fields!Server.Value</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox13"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox13</DefaultName><ZIndex>11</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox16"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Left>None</Left><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox16</DefaultName><ZIndex>10</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems><ColSpan>5</ColSpan></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows></Header></TableGroup><TableGroup><Grouping Name="table1_Group2"><GroupExpressions><GroupExpression>=Fields!Server.Value</GroupExpression><GroupExpression>=Fields!Date.Value</GroupExpression></GroupExpressions></Grouping><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox31"><Style><BorderColor><Default>LightGrey</Default></BorderColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox31</DefaultName><ZIndex>9</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="Date_1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Left>Solid</Left><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">Date_1</DefaultName><ZIndex>8</ZIndex><Value>=code.FormatDate(Fields!Date.Value)</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox34"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Right>Solid</Right><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox34</DefaultName><ZIndex>7</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems><ColSpan>5</ColSpan></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows></Header></TableGroup><TableGroup><Grouping Name="table1_Group3"><GroupExpressions><GroupExpression>=Fields!Server.Value</GroupExpression><GroupExpression>=Fields!Date.Value</GroupExpression><GroupExpression>=Fields!CounterName.Value</GroupExpression><GroupExpression>=Fields!DayMaxAvg.Value</GroupExpression><GroupExpression>=Fields!DayTotal.Value</GroupExpression><GroupExpression>=Fields!DayCount.Value</GroupExpression></GroupExpressions></Grouping><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox22"><Style><BorderColor><Default>LightGrey</Default></BorderColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox22</DefaultName><ZIndex>6</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox25"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Left>Solid</Left></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox25</DefaultName><ZIndex>5</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="CounterName_1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">CounterName_1</DefaultName><ZIndex>4</ZIndex><Value>=First(Fields!CounterName.Value)</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="DayTotal"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">DayTotal</DefaultName><ZIndex>3</ZIndex><Value>=First(Format(Fields!DayTotal.Value,"######0.00"))</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="DayMaxAvg"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">DayMaxAvg</DefaultName><ZIndex>2</ZIndex><Value>=First(format(Fields!DayAvgRate.Value,"#####0.000000"))</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox29"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox29</DefaultName><ZIndex>1</ZIndex><Value>=First(format(Fields!DayMaxAvg.Value,"#####0.000000"))</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="TimePeriod_1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">TimePeriod_1</DefaultName><Value>=First(Fields!TimePeriod.Value)</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows></Header></TableGroup></TableGroups></Table></ReportItems><Style><BorderWidth><Default>0.5pt</Default></BorderWidth></Style><Height>11in</Height><ColumnSpacing>0.25in</ColumnSpacing></Body><TopMargin>1in</TopMargin><DataSources><DataSource Name="SCDW"><rd:DataSourceID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">fb44cba7-75a7-4314-b2a5-1fce44701d23</rd:DataSourceID><DataSourceReference>SCDW</DataSourceReference></DataSource></DataSources><Code>public function CurrentTimeZone() as string 
	CurrentTimeZone = System.TimeZone.CurrentTimeZone.StandardName
end function

public function FormatNumber(fieldValue, formatString) as string 
	if (fieldValue is Nothing)
		FormatNumber = "Not Available"
	else
		FormatNumber = Format(fieldValue,formatString)
	end if
end function

function formatDate(s) as string
	Dim d as date
	d=s
	formatDate=d.tostring("d")
end function</Code><Width>11in</Width><DataSets><DataSet Name="CurrentDate"><Fields><Field Name="BeginDate"><DataField>BeginDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="EndDate"><DataField>EndDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     BeginDate, EndDate
FROM         fn_GetDateRange(7) fn_GetDateRange</CommandText><Timeout>0</Timeout></Query></DataSet><DataSet Name="ComputerList"><Fields><Field Name="Computer"><DataField>Computer</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT DISTINCT SourceClassInstanceKeyValue AS Computer
FROM         [SC_Class_Rel_Computer-Exchange_View]
UNION
SELECT     '&lt;ALL&gt;'
ORDER BY Computer</CommandText><Timeout>3000000</Timeout></Query></DataSet><DataSet Name="CompGroup"><Fields><Field Name="CompGroup"><DataField>CompGroup</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     CompGroup
FROM         fn_ListComputerGroups()</CommandText><Timeout>3000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet><DataSet Name="ExchangeIStoreUsage"><Fields><Field Name="Server"><DataField>Server</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="Date"><DataField>Date</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="InstanceName"><DataField>InstanceName</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="CounterName"><DataField>CounterName</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="DayMaxAvg"><DataField>DayMaxAvg</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="DayTotal"><DataField>DayTotal</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="DayCount"><DataField>DayCount</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Int32</TypeName></Field><Field Name="TimePeriod"><DataField>TimePeriod</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="DayAvgRate"><DataField>DayAvgRate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>Select tempT2.Server,tempT2.[Date] ,tempT2.InstanceName,tempT2.CounterName,
	tempT2.DayMaxAvg,tempT2.DayTotal,tempT2.DayCount,
	tempT4.[TimePeriod],
	tempT2.DayTotal/tempT2.DayCount as DayAvgRate
from (
select Server,[Date],InstanceName,CounterName,max(PeriodAvg) as DayMaxAvg,Sum(PeriodTotal) as DayTotal,sum(PeriodCount) as DayCount
from
(SELECT  
	Server 		= CD.FullComputerName,
	InstanceName 	,--= CDD.InstanceName_PK,
	CounterName 	,-- CDD.CounterName_PK,
	[Date] 		= DD.Date,
	[TimePeriod]    = case when datepart(mi,snd.localdatetimesampled) &lt; 31 then cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'00'+' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'29' 
				  else cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'30' +' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'59' end,
	PeriodTotal	= sum(SND.SampleValue),
	PeriodAvg	= avg(SND.SampleValue),
	PeriodCount	= Count(*)
FROM    
                                (SELECT ObjectName = CDD.ObjectName_PK,CounterName = CDD.CounterName_PK,
				   [InstanceName] = CDD.InstanceName_PK, [Scale] = CDD.ScaleFactor,
				   SMC_InstanceID
  				FROM dbo.SC_CounterDetailDimension_View CDD
 				WHERE CDD.ObjectName_PK in ('MSExchangeIS') AND 
					CDD.CounterName_PK in ('RPC Operations/sec','RPC Requests') 
				 ) dtCDD 
         inner join 
	dbo.SC_SampledNumericDataFact_View SND   ON dtCDD.SMC_InstanceID = SND.CounterDetail_FK 
        INNER JOIN
        dbo.SC_ComputerDimension_View CD 	ON CD.SMC_InstanceID = SND.Computer_FK 		
	inner join SC_DateDimension_View DD on DD.SMC_InstanceID=SND.LocalDateSampled_FK
Where 
	   snd.localdatetimesampled  between @BeginDate and @EndDate 
	    and  (@Computer = '&lt;ALL&gt;' or cd.fullcomputerName=@Computer ) --CD.ComputerId=(select computerid from sc_computerDimension_View where fullcomputername=@Computer))

group by CD.FullComputerName,dtCDD.InstanceName,dtCDD.CounterName,DD.Date,
              datepart(hh,snd.localdatetimesampled), case when datepart(mi,snd.localdatetimesampled) &lt; 31 then cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'00'+' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'29' 
				  else cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'30' +' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'59' end
)tempT1
group by Server,[Date],InstanceName,CounterName
) tempT2 

Inner join 

 (select Server,[Date],InstanceName,CounterName,PeriodAvg,[TimePeriod]
from
(SELECT  
	Server 		= CD.FullComputerName,
	InstanceName 	,--= CDD.InstanceName_PK,
	CounterName 	,-- CDD.CounterName_PK,
	[Date] 		= DD.Date,
	[TimePeriod]    = case when datepart(mi,snd.localdatetimesampled) &lt; 31 then cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'00'+' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'29' 
				  else cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'30' +' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'59' end,
	--PeriodTotal	= sum(SND.SampleValue),
	PeriodAvg	= avg(SND.SampleValue)
	--PeriodCount	= Count(*)
FROM    
                                (SELECT ObjectName = CDD.ObjectName_PK,CounterName = CDD.CounterName_PK,
				   [InstanceName] = CDD.InstanceName_PK, [Scale] = CDD.ScaleFactor,
				   SMC_InstanceID
  				FROM dbo.SC_CounterDetailDimension_View CDD
 				WHERE CDD.ObjectName_PK in ('MSExchangeIS') AND 
					CDD.CounterName_PK in ('RPC Operations/sec','RPC Requests') 
				 ) dtCDD 
         inner join 
	dbo.SC_SampledNumericDataFact_View SND   ON dtCDD.SMC_InstanceID = SND.CounterDetail_FK 
        INNER JOIN
        dbo.SC_ComputerDimension_View CD 	ON CD.SMC_InstanceID = SND.Computer_FK 		
	inner join SC_DateDimension_View DD on DD.SMC_InstanceID=SND.LocalDateSampled_FK
Where 
	   snd.localdatetimesampled  between @BeginDate and @EndDate 
	    and  (@Computer = '&lt;ALL&gt;' or cd.fullcomputerName=@Computer ) --CD.ComputerId=(select computerid from sc_computerDimension_View where fullcomputername=@Computer))
group by CD.FullComputerName,dtCDD.InstanceName,dtCDD.CounterName,DD.Date,
              datepart(hh,snd.localdatetimesampled), case when datepart(mi,snd.localdatetimesampled) &lt; 31 then cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'00'+' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'29' 
				  else cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'30' +' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'59' end
)tempT3)tempT4

on      tempT4.Server = tempT2.Server and
	TempT4.[Date]= tempT2.[Date] and
	tempT4.InstanceName = tempT2.InstanceName and
	tempT4.CounterName  = tempT2.CounterName and
	tempT4.PeriodAvg    = tempT2.DayMaxAvg  
	--TempT4.[Date] between @BeginDate and @EndDate and
	--(@Computer = '&lt;ALL&gt;' or tempT4.Server =@Computer)

order by tempT2.Server,tempT2.[Date]</CommandText><QueryParameters><QueryParameter Name="@BeginDate"><Value>=Parameters!BeginDate.Value</Value></QueryParameter><QueryParameter Name="@EndDate"><Value>=Parameters!EndDate.Value</Value></QueryParameter><QueryParameter Name="@Computer"><Value>=Parameters!Computer.Value</Value></QueryParameter></QueryParameters><Timeout>300000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet></DataSets><LeftMargin>1in</LeftMargin><rd:SnapToGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:SnapToGrid><rd:DrawGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:DrawGrid><Description /><PageWidth>13in</PageWidth><rd:ReportID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">212d782b-9718-4b8d-a1c1-2bd72afd7b82</rd:ReportID><PageFooter><ReportItems><Textbox Name="textboxPageNumber_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.2in</Top><Height>0.25in</Height><Value>="Page " &amp; Globals.PageNumber &amp; "/" &amp; Globals.TotalPages</Value><Left>4in</Left></Textbox><Textbox Name="textbox1DateTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><Top>0.2in</Top><Height>0.25in</Height><Width>4in</Width><Value>="All dates and  times shown in " &amp; Code.CurrentTimeZone()</Value></Textbox></ReportItems><PrintOnLastPage>true</PrintOnLastPage><PrintOnFirstPage>true</PrintOnFirstPage><Style /><Height>0.5in</Height></PageFooter><BottomMargin>1in</BottomMargin><ReportParameters><ReportParameter Name="BeginDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>BeginDate</ValueField></DataSetReference></DefaultValue><Prompt>Begin Date</Prompt></ReportParameter><ReportParameter Name="EndDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>EndDate</ValueField></DataSetReference></DefaultValue><Prompt>End Date</Prompt></ReportParameter><ReportParameter Name="Computer"><DataType>String</DataType><Prompt>Server</Prompt><ValidValues><DataSetReference><DataSetName>ComputerList</DataSetName><ValueField>Computer</ValueField><LabelField>Computer</LabelField></DataSetReference></ValidValues></ReportParameter><ReportParameter Name="SortBy"><DataType>String</DataType><DefaultValue><Values><Value>Server</Value></Values></DefaultValue><Prompt>Sort By</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Server</Value></ParameterValue><ParameterValue><Value>Date</Value></ParameterValue><ParameterValue><Value>CounterName</Value><Label>Performance Counter</Label></ParameterValue><ParameterValue><Value>DayTotal</Value><Label>Total</Label></ParameterValue><ParameterValue><Value>DayAvgRate</Value><Label>Avg. Rate during day</Label></ParameterValue><ParameterValue><Value>DayMaxAvg</Value><Label>Highest Avg. Rate in 1/2 hr. period</Label></ParameterValue><ParameterValue><Value>TimePeriod</Value><Label>Time Period of Highest Avg. Rate</Label></ParameterValue></ParameterValues></ValidValues></ReportParameter><ReportParameter Name="Direction"><DataType>String</DataType><DefaultValue><Values><Value>Ascending</Value></Values></DefaultValue><Prompt>Sort Order</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Ascending</Value></ParameterValue><ParameterValue><Value>Descending</Value></ParameterValue></ParameterValues></ValidValues></ReportParameter></ReportParameters></Report>]]></ReportDefinition>
  </ReportItem>
  <ReportItem>
    <Name>Exchange Mailbox Store Usage</Name>
    <Type>Report</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/Exchange 2000 and 2003 Protocol Usage/Exchange Mailbox Store Usage</Path>
    <ReportDefinition><![CDATA[<?xml version='1.0' encoding='utf-8'?><Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportdefinition"><rd:GridSpacing xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">0.05in</rd:GridSpacing><RightMargin>1in</RightMargin><Body><ReportItems><Textbox Name="textboxRightLogo"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/2Inch_Logo.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>6</ZIndex><Height>0.5625in</Height><Value /><Left>9in</Left></Textbox><Textbox Name="textboxReportTitle_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/9Inch_Banner.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>5</ZIndex><Height>0.5625in</Height><Width>9in</Width><CanGrow>true</CanGrow><Value>Exchange Mailbox Store Usage</Value></Textbox><Textbox Name="textboxExecutionTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>4</ZIndex><Top>0.5625in</Top><Height>0.25in</Height><Value>=Globals.ExecutionTime</Value><Left>9in</Left></Textbox><Textbox Name="textboxParameterValue_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.375in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!Computer.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterValue_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.25in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!BeginDate.Value &amp; " - " &amp; Parameters!EndDate.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterName_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.375in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Server :</Value></Textbox><Textbox Name="textboxParameterName_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.25in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Date Range :</Value></Textbox><Textbox Name="textboxDescription_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>GhostWhite</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.8125in</Top><ToggleImage><InitialState>true</InitialState></ToggleImage><Height>0.375in</Height><Visibility><ToggleItem>textboxDescriptionHeading_tmp</ToggleItem><Hidden>true</Hidden></Visibility><CanGrow>true</CanGrow><Value>= "This report provides Exchange 2000/2003 servers' Mailbox store usage based on key performance counters. The report presents daily total and average for the counters for the specified time period. Highest average for each counter in a ½ hour period is also included with the time of occurrence for the highest average. The data is ordered by server name and date."  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "The following rules need to be enabled for data to be collected:"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "For Exchange 2000 Server:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server 2000\Performance Counter Logging Rules\Exchange Utilization and Performance\Mailbox Store Utilization\"  &amp; VbCrLf &amp;  "–       Mailbox Store: Messages Delivered / minute"  &amp; VbCrLf &amp;  "–       Mailbox Store: Messages Sent / minute"  &amp; VbCrLf &amp;  "–       Mailbox Store: Messages Submitted / minute"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "For Exchange Server 2003:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server 2003\Performance Counter Logging Rules\Exchange Utilization and Performance\Mailbox Store Utilization\"  &amp; VbCrLf &amp;  "–       Mailbox Store: Messages Delivered / minute"  &amp; VbCrLf &amp;  "–       Mailbox Store: Messages Sent / minute"  &amp; VbCrLf &amp;  "–       Mailbox Store: Messages Submitted / minute" </Value></Textbox><Textbox Name="textboxDescriptionHeading_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><Top>0.5625in</Top><Height>0.25in</Height><Width>9in</Width><CanGrow>true</CanGrow><Value>Description</Value></Textbox><Table Name="table1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle></Style><Top>1.75in</Top><Height>1.125in</Height><Width>10.985in</Width><ZIndex>1</ZIndex><NoRows>= "There is no data available for this report. This can occur when there is no relevant data available for collection, the reports’ dependent rules are not enabled or when none of the relevant data has been copied to the Reporting database." </NoRows><DataSetName>ExchangeMailBoxUsage</DataSetName><TableColumns><TableColumn><Width>2.04372in</Width></TableColumn><TableColumn><Width>1.53279in</Width></TableColumn><TableColumn><Width>2.68238in</Width></TableColumn><TableColumn><Width>0.89413in</Width></TableColumn><TableColumn><Width>1.02186in</Width></TableColumn><TableColumn><Width>1.40506in</Width></TableColumn><TableColumn><Width>1.40506in</Width></TableColumn></TableColumns><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox3"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Left</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox3</DefaultName><ZIndex>19</ZIndex><Value>Server</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox8"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Left</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox8</DefaultName><ZIndex>18</ZIndex><Value>Date</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox5"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Left</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox5</DefaultName><ZIndex>17</ZIndex><Value>Performance Counter</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox4"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox4</DefaultName><ZIndex>16</ZIndex><Value>Total</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox9"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox9</DefaultName><ZIndex>15</ZIndex><Value>Avg. Rate during day</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox12"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox12</DefaultName><ZIndex>14</ZIndex><Value>Highest Avg. Rate in 1/2 hr. period</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox14"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox14</DefaultName><ZIndex>13</ZIndex><Value>Time Period of Highest Avg. rate</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell></TableCells><Height>0.375in</Height></TableRow></TableRows><RepeatOnNewPage>true</RepeatOnNewPage></Header><TableGroups><TableGroup><Grouping Name="table1_Group1"><GroupExpressions><GroupExpression>=Fields!Server.Value</GroupExpression></GroupExpressions></Grouping><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0) </SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox11"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Left>Solid</Left><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox11</DefaultName><ZIndex>12</ZIndex><Value>=Fields!Server.Value</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox16"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Left>None</Left><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox16</DefaultName><ZIndex>11</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox15"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox15</DefaultName><ZIndex>10</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems><ColSpan>5</ColSpan></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows></Header></TableGroup><TableGroup><Grouping Name="table1_Group2"><GroupExpressions><GroupExpression>=Fields!Server.Value</GroupExpression><GroupExpression>=Fields!Date.Value</GroupExpression></GroupExpressions></Grouping><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox31"><Style><BorderColor><Default>LightGrey</Default></BorderColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox31</DefaultName><ZIndex>9</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="Date_1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Left>Solid</Left><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">Date_1</DefaultName><ZIndex>8</ZIndex><Value>=code.FormatDate(Fields!Date.Value)</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox13"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Right>Solid</Right><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox13</DefaultName><ZIndex>7</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems><ColSpan>5</ColSpan></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows></Header></TableGroup><TableGroup><Grouping Name="table1_Group3"><GroupExpressions><GroupExpression>=Fields!Server.Value</GroupExpression><GroupExpression>=Fields!Date.Value</GroupExpression><GroupExpression>=Fields!CounterName.Value</GroupExpression><GroupExpression>=Fields!DayMaxAvg.Value</GroupExpression><GroupExpression>=Fields!DayTotal.Value</GroupExpression><GroupExpression>=Fields!DayCount.Value</GroupExpression></GroupExpressions></Grouping><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox22"><Style><BorderColor><Default>LightGrey</Default></BorderColor><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox22</DefaultName><ZIndex>6</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox25"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Left>Solid</Left></BorderStyle><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox25</DefaultName><ZIndex>5</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="CounterName_1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">CounterName_1</DefaultName><ZIndex>4</ZIndex><Value>=First(Fields!CounterName.Value)</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="DayTotal"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">DayTotal</DefaultName><ZIndex>3</ZIndex><Value>=First(Format(Fields!DayTotal.Value,"######0.00"))</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="DayMaxAvg"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">DayMaxAvg</DefaultName><ZIndex>2</ZIndex><Value>=First(format(Fields!DayAvgRate.Value,"#####0.000000"))</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox29"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox29</DefaultName><ZIndex>1</ZIndex><Value>=First(format(Fields!DayMaxAvg.Value,"#####0.000000"))</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="TimePeriod_1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">TimePeriod_1</DefaultName><Value>=First(Fields!TimePeriod.Value)</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows></Header></TableGroup></TableGroups></Table></ReportItems><Style><BorderWidth><Default>0.5pt</Default></BorderWidth></Style><Height>11in</Height><ColumnSpacing>0.25in</ColumnSpacing></Body><TopMargin>1in</TopMargin><DataSources><DataSource Name="SCDW"><rd:DataSourceID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">fb44cba7-75a7-4314-b2a5-1fce44701d23</rd:DataSourceID><DataSourceReference>SCDW</DataSourceReference></DataSource></DataSources><Code>public function CurrentTimeZone() as string 
	CurrentTimeZone = System.TimeZone.CurrentTimeZone.StandardName
end function

public function FormatNumber(fieldValue, formatString) as string 
	if (fieldValue is Nothing)
		FormatNumber = "Not Available"
	else
		FormatNumber = Format(fieldValue,formatString)
	end if
end function

function formatDate(s) as string
	Dim d as date
	d=s
	formatDate=d.tostring("d")
end function</Code><Width>11in</Width><DataSets><DataSet Name="CurrentDate"><Fields><Field Name="BeginDate"><DataField>BeginDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="EndDate"><DataField>EndDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     BeginDate, EndDate
FROM         fn_GetDateRange(7) fn_GetDateRange</CommandText><Timeout>0</Timeout></Query></DataSet><DataSet Name="ComputerList"><Fields><Field Name="Computer"><DataField>Computer</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT DISTINCT SourceClassInstanceKeyValue AS Computer
FROM         [SC_Class_Rel_Computer-Exchange_View]
UNION
SELECT     '&lt;ALL&gt;'
ORDER BY Computer</CommandText><Timeout>3000000</Timeout></Query></DataSet><DataSet Name="CompGroup"><Fields><Field Name="CompGroup"><DataField>CompGroup</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     CompGroup
FROM         fn_ListComputerGroups()</CommandText><Timeout>3000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet><DataSet Name="ExchangeMailBoxUsage"><Fields><Field Name="Server"><DataField>Server</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="Date"><DataField>Date</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="InstanceName"><DataField>InstanceName</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="CounterName"><DataField>CounterName</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="DayMaxAvg"><DataField>DayMaxAvg</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="DayTotal"><DataField>DayTotal</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="DayCount"><DataField>DayCount</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Int32</TypeName></Field><Field Name="TimePeriod"><DataField>TimePeriod</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="DayAvgRate"><DataField>DayAvgRate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>Select tempT2.Server,tempT2.[Date] ,tempT2.InstanceName,tempT2.CounterName,
	tempT2.DayMaxAvg,tempT2.DayTotal,tempT2.DayCount,
	tempT4.[TimePeriod],
	tempT2.DayTotal/tempT2.DayCount as DayAvgRate
from (
select Server,[Date],InstanceName,CounterName,max(PeriodAvg) as DayMaxAvg,Sum(PeriodTotal) as DayTotal,sum(PeriodCount) as DayCount
from
(SELECT  
	Server 		= CD.FullComputerName,
	InstanceName 	,--= CDD.InstanceName_PK,
	CounterName 	,-- CDD.CounterName_PK,
	[Date] 		= DD.Date,
	[TimePeriod]    = case when datepart(mi,snd.localdatetimesampled) &lt; 31 then cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'00'+' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'29' 
				  else cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'30' +' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'59' end,
	PeriodTotal	= sum(SND.SampleValue),
	PeriodAvg	= avg(SND.SampleValue),
	PeriodCount	= Count(*)
FROM    
                                (SELECT ObjectName = CDD.ObjectName_PK,CounterName = CDD.CounterName_PK,
				   [InstanceName] = CDD.InstanceName_PK, [Scale] = CDD.ScaleFactor,
				   SMC_InstanceID
  				FROM dbo.SC_CounterDetailDimension_View CDD
 				WHERE CDD.ObjectName_PK in ('MSExchangeIS Mailbox') AND 
					CDD.CounterName_PK in ('Messages Delivered/min','Messages Submitted/min','Messages Sent/min') 
				 ) dtCDD 
         inner join 
	dbo.SC_SampledNumericDataFact_View SND   ON dtCDD.SMC_InstanceID = SND.CounterDetail_FK 
        INNER JOIN
        dbo.SC_ComputerDimension_View CD 	ON CD.SMC_InstanceID = SND.Computer_FK 		
	inner join SC_DateDimension_View DD on DD.SMC_InstanceID=SND.LocalDateSampled_FK
Where 
	   snd.localdatetimesampled  between @BeginDate and @EndDate 
	    and  (@Computer = '&lt;ALL&gt;' or cd.fullcomputerName=@Computer ) --CD.ComputerId=(select computerid from sc_computerDimension_View where fullcomputername=@Computer))

group by CD.FullComputerName,dtCDD.InstanceName,dtCDD.CounterName,DD.Date,
              datepart(hh,snd.localdatetimesampled), case when datepart(mi,snd.localdatetimesampled) &lt; 31 then cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'00'+' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'29' 
				  else cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'30' +' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'59' end
)tempT1
group by Server,[Date],InstanceName,CounterName
) tempT2 

Inner join 

 (select Server,[Date],InstanceName,CounterName,PeriodAvg,[TimePeriod]
from
(SELECT  
	Server 		= CD.FullComputerName,
	InstanceName 	,--= CDD.InstanceName_PK,
	CounterName 	,-- CDD.CounterName_PK,
	[Date] 		=DD.Date,
	[TimePeriod]    = case when datepart(mi,snd.localdatetimesampled) &lt; 31 then cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'00'+' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'29' 
				  else cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'30' +' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'59' end,
	--PeriodTotal	= sum(SND.SampleValue),
	PeriodAvg	= avg(SND.SampleValue)
	--PeriodCount	= Count(*)
FROM    
                                (SELECT ObjectName = CDD.ObjectName_PK,CounterName = CDD.CounterName_PK,
				   [InstanceName] = CDD.InstanceName_PK, [Scale] = CDD.ScaleFactor,
				   SMC_InstanceID
  				FROM dbo.SC_CounterDetailDimension_View CDD
 				WHERE CDD.ObjectName_PK in ('MSExchangeIS Mailbox') AND 
				CDD.CounterName_PK in ('Messages Delivered/min','Messages Submitted/min','Messages Sent/min') 
				 ) dtCDD 
         inner join 
	dbo.SC_SampledNumericDataFact_View SND   ON dtCDD.SMC_InstanceID = SND.CounterDetail_FK 
        INNER JOIN
        dbo.SC_ComputerDimension_View CD 	ON CD.SMC_InstanceID = SND.Computer_FK 		
	inner join SC_DateDimension_View DD on DD.SMC_InstanceID=SND.LocalDateSampled_FK
Where 
	   snd.localdatetimesampled  between @BeginDate and @EndDate 
	    and  (@Computer = '&lt;ALL&gt;' or cd.fullcomputerName=@Computer ) --CD.ComputerId=(select computerid from sc_computerDimension_View where fullcomputername=@Computer))
group by CD.FullComputerName,dtCDD.InstanceName,dtCDD.CounterName,DD.Date,
              datepart(hh,snd.localdatetimesampled), case when datepart(mi,snd.localdatetimesampled) &lt; 31 then cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'00'+' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'29' 
				  else cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'30' +' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'59' end
)tempT3)tempT4

on      tempT4.Server = tempT2.Server and
	TempT4.[Date]= tempT2.[Date] and
	tempT4.InstanceName = tempT2.InstanceName and
	tempT4.CounterName  = tempT2.CounterName and
	tempT4.PeriodAvg    = tempT2.DayMaxAvg  
	--TempT4.[Date] between @BeginDate and @EndDate and
	--(@Computer = '&lt;ALL&gt;' or tempT4.Server =@Computer)
order by tempT2.Server,tempT2.[Date]</CommandText><QueryParameters><QueryParameter Name="@BeginDate"><Value>=Parameters!BeginDate.Value</Value></QueryParameter><QueryParameter Name="@EndDate"><Value>=Parameters!EndDate.Value</Value></QueryParameter><QueryParameter Name="@Computer"><Value>=Parameters!Computer.Value</Value></QueryParameter></QueryParameters><Timeout>300000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet></DataSets><LeftMargin>1in</LeftMargin><rd:SnapToGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:SnapToGrid><rd:DrawGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:DrawGrid><Description /><PageWidth>13in</PageWidth><rd:ReportID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">212d782b-9718-4b8d-a1c1-2bd72afd7b82</rd:ReportID><PageFooter><ReportItems><Textbox Name="textboxPageNumber_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.2in</Top><Height>0.25in</Height><Value>="Page " &amp; Globals.PageNumber &amp; "/" &amp; Globals.TotalPages</Value><Left>4in</Left></Textbox><Textbox Name="textbox1DateTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><Top>0.2in</Top><Height>0.25in</Height><Width>4in</Width><Value>="All dates and  times shown in " &amp; Code.CurrentTimeZone()</Value></Textbox></ReportItems><PrintOnLastPage>true</PrintOnLastPage><PrintOnFirstPage>true</PrintOnFirstPage><Style /><Height>0.5in</Height></PageFooter><BottomMargin>1in</BottomMargin><ReportParameters><ReportParameter Name="BeginDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>BeginDate</ValueField></DataSetReference></DefaultValue><Prompt>Begin Date</Prompt></ReportParameter><ReportParameter Name="EndDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>EndDate</ValueField></DataSetReference></DefaultValue><Prompt>End Date</Prompt></ReportParameter><ReportParameter Name="Computer"><DataType>String</DataType><Prompt>Server</Prompt><ValidValues><DataSetReference><DataSetName>ComputerList</DataSetName><ValueField>Computer</ValueField><LabelField>Computer</LabelField></DataSetReference></ValidValues></ReportParameter><ReportParameter Name="SortBy"><DataType>String</DataType><DefaultValue><Values><Value>Server</Value></Values></DefaultValue><Prompt>Sort By</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Server</Value></ParameterValue><ParameterValue><Value>Date</Value></ParameterValue><ParameterValue><Value>CounterName</Value><Label>Performance Counter</Label></ParameterValue><ParameterValue><Value>DayTotal</Value><Label>Total</Label></ParameterValue><ParameterValue><Value>DayAvgRate</Value><Label>Avg. Rate during day</Label></ParameterValue><ParameterValue><Value>DayMaxAvg</Value><Label>Highest Avg. Rate in 1/2 hr. period</Label></ParameterValue><ParameterValue><Value>TimePeriod</Value><Label>Time Period of Highest Avg. Rate</Label></ParameterValue></ParameterValues></ValidValues></ReportParameter><ReportParameter Name="Direction"><DataType>String</DataType><DefaultValue><Values><Value>Ascending</Value></Values></DefaultValue><Prompt>Sort Order</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Ascending</Value></ParameterValue><ParameterValue><Value>Descending</Value></ParameterValue></ParameterValues></ValidValues></ReportParameter></ReportParameters></Report>]]></ReportDefinition>
  </ReportItem>
  <ReportItem>
    <Name>Exchange MTA Usage</Name>
    <Type>Report</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/Exchange 2000 and 2003 Protocol Usage/Exchange MTA Usage</Path>
    <ReportDefinition><![CDATA[<?xml version='1.0' encoding='utf-8'?><Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportdefinition"><rd:GridSpacing xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">0.05in</rd:GridSpacing><RightMargin>1in</RightMargin><Body><ReportItems><Textbox Name="textboxRightLogo"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/2Inch_Logo.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>6</ZIndex><Height>0.5625in</Height><Value /><Left>9in</Left></Textbox><Textbox Name="textboxReportTitle_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/9Inch_Banner.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>5</ZIndex><Height>0.5625in</Height><Width>9in</Width><CanGrow>true</CanGrow><Value>Exchange MTA Usage</Value></Textbox><Textbox Name="textboxExecutionTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>4</ZIndex><Top>0.5625in</Top><Height>0.25in</Height><Value>=Globals.ExecutionTime</Value><Left>9in</Left></Textbox><Textbox Name="textboxParameterValue_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.375in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!Computer.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterValue_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.25in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!BeginDate.Value &amp; " - " &amp; Parameters!EndDate.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterName_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.375in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Server :</Value></Textbox><Textbox Name="textboxParameterName_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.25in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Date Range :</Value></Textbox><Textbox Name="textboxDescription_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>GhostWhite</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.8125in</Top><ToggleImage><InitialState>true</InitialState></ToggleImage><Height>0.375in</Height><Visibility><ToggleItem>textboxDescriptionHeading_tmp</ToggleItem><Hidden>true</Hidden></Visibility><CanGrow>true</CanGrow><Value>= "This report provides Exchange 2000/2003 servers' MTA usage based on key performance counters. The report presents daily total and average for the counters for the specified time period. Highest average for each counter in a ½ hour period is also included with the time of occurrence for the highest average. The data is ordered by server name and date."  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "The following rules need to be enabled for data to be collected:"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "For Exchange 2000 Server:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server\Exchange 2000\Performance Counter Logging Rules\Exchange Utilization and Performance\Performance Rules"  &amp; VbCrLf &amp;  "–       Message Transfer Agent (MTA): Message Bytes / second"  &amp; VbCrLf &amp;  "–       Message Transfer Agent (MTA): Messages Processed / second"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "For Exchange Server 2003:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server\Exchange 2003\Performance Counter Logging Rules\Exchange Utilization and Performance\Message Transfer Agent Utilization\"  &amp; VbCrLf &amp;  "–       Message Transfer Agent (MTA): Message Bytes / second"  &amp; VbCrLf &amp;  "–       Message Transfer Agent (MTA): Messages Processed / second" </Value></Textbox><Textbox Name="textboxDescriptionHeading_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><Top>0.5625in</Top><Height>0.25in</Height><Width>9in</Width><CanGrow>true</CanGrow><Value>Description</Value></Textbox><Table Name="table1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle></Style><Top>1.75in</Top><Height>1.125in</Height><Width>10.985in</Width><ZIndex>1</ZIndex><NoRows>= "There is no data available for this report. This can occur when there is no relevant data available for collection, the reports’ dependent rules are not enabled or when none of the relevant data has been copied to the Reporting database." </NoRows><DataSetName>ExchangeMTAUsage</DataSetName><TableColumns><TableColumn><Width>2.04372in</Width></TableColumn><TableColumn><Width>1.53279in</Width></TableColumn><TableColumn><Width>2.68238in</Width></TableColumn><TableColumn><Width>0.89413in</Width></TableColumn><TableColumn><Width>1.02186in</Width></TableColumn><TableColumn><Width>1.40506in</Width></TableColumn><TableColumn><Width>1.40506in</Width></TableColumn></TableColumns><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox3"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Left</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox3</DefaultName><ZIndex>19</ZIndex><Value>Server</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox8"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Left</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox8</DefaultName><ZIndex>18</ZIndex><Value>Date</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox5"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Left</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox5</DefaultName><ZIndex>17</ZIndex><Value>Performance Counter</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox4"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox4</DefaultName><ZIndex>16</ZIndex><Value>Total</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox9"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox9</DefaultName><ZIndex>15</ZIndex><Value>Avg. Rate during day</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox12"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox12</DefaultName><ZIndex>14</ZIndex><Value>Highest Avg. Rate in 1/2 hr. period</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox14"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox14</DefaultName><ZIndex>13</ZIndex><Value>Time Period of Highest Avg. rate</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell></TableCells><Height>0.375in</Height></TableRow></TableRows><RepeatOnNewPage>true</RepeatOnNewPage></Header><TableGroups><TableGroup><Grouping Name="table1_Group1"><GroupExpressions><GroupExpression>=Fields!Server.Value</GroupExpression></GroupExpressions></Grouping><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0) </SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox11"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Left>Solid</Left><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox11</DefaultName><ZIndex>12</ZIndex><Value>=Fields!Server.Value</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox13"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox13</DefaultName><ZIndex>11</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox16"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Right>Solid</Right><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox16</DefaultName><ZIndex>10</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems><ColSpan>5</ColSpan></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows></Header></TableGroup><TableGroup><Grouping Name="table1_Group2"><GroupExpressions><GroupExpression>=Fields!Server.Value</GroupExpression><GroupExpression>=Fields!Date.Value</GroupExpression></GroupExpressions></Grouping><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox31"><Style><BorderColor><Default>LightGrey</Default></BorderColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox31</DefaultName><ZIndex>9</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="Date_1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Left>Solid</Left><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">Date_1</DefaultName><ZIndex>8</ZIndex><Value>=code.FormatDate(Fields!Date.Value)</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox34"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Right>Solid</Right><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox34</DefaultName><ZIndex>7</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems><ColSpan>5</ColSpan></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows></Header></TableGroup><TableGroup><Grouping Name="table1_Group3"><GroupExpressions><GroupExpression>=Fields!Server.Value</GroupExpression><GroupExpression>=Fields!Date.Value</GroupExpression><GroupExpression>=Fields!CounterName.Value</GroupExpression><GroupExpression>=Fields!DayMaxAvg.Value</GroupExpression><GroupExpression>=Fields!DayTotal.Value</GroupExpression><GroupExpression>=Fields!DayCount.Value</GroupExpression></GroupExpressions></Grouping><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox22"><Style><BorderColor><Default>LightGrey</Default></BorderColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox22</DefaultName><ZIndex>6</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox25"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Left>Solid</Left></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox25</DefaultName><ZIndex>5</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="CounterName_1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">CounterName_1</DefaultName><ZIndex>4</ZIndex><Value>=First(Fields!CounterName.Value)</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="DayTotal"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">DayTotal</DefaultName><ZIndex>3</ZIndex><Value>=First(Format(Fields!DayTotal.Value,"######0.00"))</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="DayMaxAvg"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">DayMaxAvg</DefaultName><ZIndex>2</ZIndex><Value>=First(format(Fields!DayAvgRate.Value,"#####0.000000"))</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox29"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox29</DefaultName><ZIndex>1</ZIndex><Value>=First(format(Fields!DayMaxAvg.Value,"#####0.000000"))</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="TimePeriod_1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">TimePeriod_1</DefaultName><Value>=First(Fields!TimePeriod.Value)</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows></Header></TableGroup></TableGroups></Table></ReportItems><Style><BorderWidth><Default>0.5pt</Default></BorderWidth></Style><Height>11in</Height><ColumnSpacing>0.25in</ColumnSpacing></Body><TopMargin>1in</TopMargin><DataSources><DataSource Name="SCDW"><rd:DataSourceID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">fb44cba7-75a7-4314-b2a5-1fce44701d23</rd:DataSourceID><DataSourceReference>SCDW</DataSourceReference></DataSource></DataSources><Code>public function CurrentTimeZone() as string 
	CurrentTimeZone = System.TimeZone.CurrentTimeZone.StandardName
end function

public function FormatNumber(fieldValue, formatString) as string 
	if (fieldValue is Nothing)
		FormatNumber = "Not Available"
	else
		FormatNumber = Format(fieldValue,formatString)
	end if
end function

function formatDate(s) as string
	Dim d as date
	d=s
	formatDate=d.tostring("d")
end function</Code><Width>11in</Width><DataSets><DataSet Name="CurrentDate"><Fields><Field Name="BeginDate"><DataField>BeginDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="EndDate"><DataField>EndDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     BeginDate, EndDate
FROM         fn_GetDateRange(7) fn_GetDateRange</CommandText><Timeout>0</Timeout></Query></DataSet><DataSet Name="ComputerList"><Fields><Field Name="Computer"><DataField>Computer</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT DISTINCT SourceClassInstanceKeyValue AS Computer
FROM         [SC_Class_Rel_Computer-Exchange_View]
UNION
SELECT     '&lt;ALL&gt;'
ORDER BY Computer</CommandText><Timeout>3000000</Timeout></Query></DataSet><DataSet Name="CompGroup"><Fields><Field Name="CompGroup"><DataField>CompGroup</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     CompGroup
FROM         fn_ListComputerGroups()</CommandText><Timeout>3000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet><DataSet Name="ExchangeMTAUsage"><Fields><Field Name="Server"><DataField>Server</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="Date"><DataField>Date</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="InstanceName"><DataField>InstanceName</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="CounterName"><DataField>CounterName</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="DayMaxAvg"><DataField>DayMaxAvg</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="DayTotal"><DataField>DayTotal</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="DayCount"><DataField>DayCount</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Int32</TypeName></Field><Field Name="TimePeriod"><DataField>TimePeriod</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="DayAvgRate"><DataField>DayAvgRate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>Select tempT2.Server,tempT2.[Date] ,tempT2.InstanceName,tempT2.CounterName,
	tempT2.DayMaxAvg,tempT2.DayTotal,tempT2.DayCount,
	tempT4.[TimePeriod],
	tempT2.DayTotal/tempT2.DayCount as DayAvgRate
from (
select Server,[Date],InstanceName,CounterName,max(PeriodAvg) as DayMaxAvg,Sum(PeriodTotal) as DayTotal,sum(PeriodCount) as DayCount
from
(SELECT  
	Server 		= CD.FullComputerName,
	InstanceName 	,--= CDD.InstanceName_PK,
	CounterName 	,-- CDD.CounterName_PK,
	[Date] 		=DD.Date,
	[TimePeriod]    = case when datepart(mi,snd.localdatetimesampled) &lt; 31 then cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'00'+' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'29' 
				  else cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'30' +' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'59' end,
	PeriodTotal	= sum(SND.SampleValue),
	PeriodAvg	= avg(SND.SampleValue),
	PeriodCount	= Count(*)
FROM    
                                (SELECT ObjectName = CDD.ObjectName_PK,CounterName = CDD.CounterName_PK,
				   [InstanceName] = CDD.InstanceName_PK, [Scale] = CDD.ScaleFactor,
				   SMC_InstanceID
  				FROM dbo.SC_CounterDetailDimension_View CDD
 				WHERE CDD.ObjectName_PK in ('MSExchangeMTA') AND 
					CDD.CounterName_PK in ('Messages/Sec','Message Bytes/Sec') 
				 ) dtCDD 
         inner join 
	dbo.SC_SampledNumericDataFact_View SND   ON dtCDD.SMC_InstanceID = SND.CounterDetail_FK 
        INNER JOIN
        dbo.SC_ComputerDimension_View CD 	ON CD.SMC_InstanceID = SND.Computer_FK 		
	inner join SC_DateDimension_View DD on DD.SMC_InstanceID=SND.LocalDateSampled_FK
Where 
	   snd.localdatetimesampled  between @BeginDate and @EndDate 
	    and  (@Computer = '&lt;ALL&gt;' or cd.fullcomputerName=@Computer ) --CD.ComputerId=(select computerid from sc_computerDimension_View where fullcomputername=@Computer))

group by CD.FullComputerName,dtCDD.InstanceName,dtCDD.CounterName,DD.Date,
              datepart(hh,snd.localdatetimesampled), case when datepart(mi,snd.localdatetimesampled) &lt; 31 then cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'00'+' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'29' 
				  else cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'30' +' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'59' end
)tempT1
group by Server,[Date],InstanceName,CounterName
) tempT2 

Inner join 

 (select Server,[Date],InstanceName,CounterName,PeriodAvg,[TimePeriod]
from
(SELECT  
	Server 		= CD.FullComputerName,
	InstanceName 	,--= CDD.InstanceName_PK,
	CounterName 	,-- CDD.CounterName_PK,
	[Date] 		= DD.Date,
	[TimePeriod]    = case when datepart(mi,snd.localdatetimesampled) &lt; 31 then cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'00'+' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'29' 
				  else cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'30' +' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'59' end,
	--PeriodTotal	= sum(SND.SampleValue),
	PeriodAvg	= avg(SND.SampleValue)
	--PeriodCount	= Count(*)
FROM    
                                (SELECT ObjectName = CDD.ObjectName_PK,CounterName = CDD.CounterName_PK,
				   [InstanceName] = CDD.InstanceName_PK, [Scale] = CDD.ScaleFactor,
				   SMC_InstanceID
  				FROM dbo.SC_CounterDetailDimension_View CDD
 				WHERE CDD.ObjectName_PK in ('MSExchangeMTA') AND 
					CDD.CounterName_PK in ('Messages/Sec','Message Bytes/Sec') 
				 ) dtCDD 
         inner join 
	dbo.SC_SampledNumericDataFact_View SND   ON dtCDD.SMC_InstanceID = SND.CounterDetail_FK 
        INNER JOIN
        dbo.SC_ComputerDimension_View CD 	ON CD.SMC_InstanceID = SND.Computer_FK 		
	inner join SC_DateDimension_View DD on DD.SMC_InstanceID=SND.LocalDateSampled_FK
Where 
	   snd.localdatetimesampled  between @BeginDate and @EndDate 
	    and  (@Computer = '&lt;ALL&gt;' or cd.fullcomputerName=@Computer ) --CD.ComputerId=(select computerid from sc_computerDimension_View where fullcomputername=@Computer))
group by CD.FullComputerName,dtCDD.InstanceName,dtCDD.CounterName,DD.Date,
              datepart(hh,snd.localdatetimesampled), case when datepart(mi,snd.localdatetimesampled) &lt; 31 then cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'00'+' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'29' 
				  else cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'30' +' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'59' end
)tempT3)tempT4

on      tempT4.Server = tempT2.Server and
	TempT4.[Date]= tempT2.[Date] and
	tempT4.InstanceName = tempT2.InstanceName and
	tempT4.CounterName  = tempT2.CounterName and
	tempT4.PeriodAvg    = tempT2.DayMaxAvg  
	--TempT4.[Date] between @BeginDate and @EndDate and
	--(@Computer = '&lt;ALL&gt;' or tempT4.Server =@Computer)

order by tempT2.Server,tempT2.[Date]</CommandText><QueryParameters><QueryParameter Name="@BeginDate"><Value>=Parameters!BeginDate.Value</Value></QueryParameter><QueryParameter Name="@EndDate"><Value>=Parameters!EndDate.Value</Value></QueryParameter><QueryParameter Name="@Computer"><Value>=Parameters!Computer.Value</Value></QueryParameter></QueryParameters><Timeout>300000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet></DataSets><LeftMargin>1in</LeftMargin><rd:SnapToGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:SnapToGrid><rd:DrawGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:DrawGrid><Description /><PageWidth>13in</PageWidth><rd:ReportID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">212d782b-9718-4b8d-a1c1-2bd72afd7b82</rd:ReportID><PageFooter><ReportItems><Textbox Name="textboxPageNumber_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.2in</Top><Height>0.25in</Height><Value>="Page " &amp; Globals.PageNumber &amp; "/" &amp; Globals.TotalPages</Value><Left>4in</Left></Textbox><Textbox Name="textbox1DateTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><Top>0.2in</Top><Height>0.25in</Height><Width>4in</Width><Value>="All dates and  times shown in " &amp; Code.CurrentTimeZone()</Value></Textbox></ReportItems><PrintOnLastPage>true</PrintOnLastPage><PrintOnFirstPage>true</PrintOnFirstPage><Style /><Height>0.5in</Height></PageFooter><BottomMargin>1in</BottomMargin><ReportParameters><ReportParameter Name="BeginDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>BeginDate</ValueField></DataSetReference></DefaultValue><Prompt>Begin Date</Prompt></ReportParameter><ReportParameter Name="EndDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>EndDate</ValueField></DataSetReference></DefaultValue><Prompt>End Date</Prompt></ReportParameter><ReportParameter Name="Computer"><DataType>String</DataType><Prompt>Server</Prompt><ValidValues><DataSetReference><DataSetName>ComputerList</DataSetName><ValueField>Computer</ValueField><LabelField>Computer</LabelField></DataSetReference></ValidValues></ReportParameter><ReportParameter Name="SortBy"><DataType>String</DataType><DefaultValue><Values><Value>Server</Value></Values></DefaultValue><Prompt>Sort By</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Server</Value></ParameterValue><ParameterValue><Value>Date</Value></ParameterValue><ParameterValue><Value>CounterName</Value><Label>Performance Counter</Label></ParameterValue><ParameterValue><Value>DayTotal</Value><Label>Total</Label></ParameterValue><ParameterValue><Value>DayAvgRate</Value><Label>Avg. Rate during day</Label></ParameterValue><ParameterValue><Value>DayMaxAvg</Value><Label>Highest Avg. Rate in 1/2 hr. period</Label></ParameterValue><ParameterValue><Value>TimePeriod</Value><Label>Time Period of Highest Avg. Rate</Label></ParameterValue></ParameterValues></ValidValues></ReportParameter><ReportParameter Name="Direction"><DataType>String</DataType><DefaultValue><Values><Value>Ascending</Value></Values></DefaultValue><Prompt>Sort Order</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Ascending</Value></ParameterValue><ParameterValue><Value>Descending</Value></ParameterValue></ParameterValues></ValidValues></ReportParameter></ReportParameters></Report>]]></ReportDefinition>
  </ReportItem>
  <ReportItem>
    <Name>Exchange POP3 Usage</Name>
    <Type>Report</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/Exchange 2000 and 2003 Protocol Usage/Exchange POP3 Usage</Path>
    <ReportDefinition><![CDATA[<?xml version='1.0' encoding='utf-8'?><Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportdefinition"><rd:GridSpacing xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">0.05in</rd:GridSpacing><RightMargin>1in</RightMargin><Body><ReportItems><Textbox Name="textboxRightLogo"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/2Inch_Logo.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>6</ZIndex><Height>0.5625in</Height><Value /><Left>9in</Left></Textbox><Textbox Name="textboxReportTitle_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/9Inch_Banner.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>5</ZIndex><Height>0.5625in</Height><Width>9in</Width><CanGrow>true</CanGrow><Value>Exchange POP3 Usage</Value></Textbox><Textbox Name="textboxExecutionTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>4</ZIndex><Top>0.5625in</Top><Height>0.25in</Height><Value>=Globals.ExecutionTime</Value><Left>9in</Left></Textbox><Textbox Name="textboxParameterValue_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.375in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!Computer.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterValue_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.25in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!BeginDate.Value &amp; " - " &amp; Parameters!EndDate.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterName_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.375in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Server :</Value></Textbox><Textbox Name="textboxParameterName_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.25in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Date Range :</Value></Textbox><Textbox Name="textboxDescription_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>GhostWhite</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.8125in</Top><ToggleImage><InitialState>true</InitialState></ToggleImage><Height>0.375in</Height><Visibility><ToggleItem>textboxDescriptionHeading_tmp</ToggleItem><Hidden>true</Hidden></Visibility><CanGrow>true</CanGrow><Value>= "This report provides Exchange 2000/2003 servers' POP3 usage based on key performance counters. The report presents daily total and average for the counters for the specified time period. Highest average for each counter in a ½ hour period is also included with the time of occurrence for the highest average. The data is ordered by server name and date."  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "The following rules need to be enabled for data to be collected:"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "For Exchange 2000 Server:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server\Exchange 2000\Performance Counter Logging Rules\Exchange Utilization and Performance\Performance Rules"  &amp; VbCrLf &amp;  "–       POP3: Messages Retrieved (RETR) / second"  &amp; VbCrLf &amp;  "–       POP3: Logons (USER rate) / second"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "For Exchange Server 2003:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server\Exchange 2003\Performance Counter Logging Rules\Exchange Utilization and Performance\POP3 Utilization\"  &amp; VbCrLf &amp;  "–       POP3: Messages Retrieved (RETR) / second"  &amp; VbCrLf &amp;  "–       POP3: Logons (USER rate) / second" </Value></Textbox><Textbox Name="textboxDescriptionHeading_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><Top>0.5625in</Top><Height>0.25in</Height><Width>9in</Width><CanGrow>true</CanGrow><Value>Description</Value></Textbox><Table Name="table1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle></Style><Top>1.75in</Top><Height>1.125in</Height><Width>10.985in</Width><ZIndex>1</ZIndex><NoRows>= "There is no data available for this report. This can occur when there is no relevant data available for collection, the reports’ dependent rules are not enabled or when none of the relevant data has been copied to the Reporting database." </NoRows><DataSetName>ExchangePOP3Usage</DataSetName><TableColumns><TableColumn><Width>2.04372in</Width></TableColumn><TableColumn><Width>1.53279in</Width></TableColumn><TableColumn><Width>2.68238in</Width></TableColumn><TableColumn><Width>0.89413in</Width></TableColumn><TableColumn><Width>1.02186in</Width></TableColumn><TableColumn><Width>1.40506in</Width></TableColumn><TableColumn><Width>1.40506in</Width></TableColumn></TableColumns><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox3"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Left</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox3</DefaultName><ZIndex>19</ZIndex><Value>Server</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox8"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Left</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox8</DefaultName><ZIndex>18</ZIndex><Value>Date</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox5"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Left</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox5</DefaultName><ZIndex>17</ZIndex><Value>Performance Counter</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox4"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox4</DefaultName><ZIndex>16</ZIndex><Value>Total</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox9"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox9</DefaultName><ZIndex>15</ZIndex><Value>Avg. Rate during day</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox12"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox12</DefaultName><ZIndex>14</ZIndex><Value>Highest Avg. Rate in 1/2 hr. period</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox14"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox14</DefaultName><ZIndex>13</ZIndex><Value>Time Period of Highest Avg. rate</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell></TableCells><Height>0.375in</Height></TableRow></TableRows><RepeatOnNewPage>true</RepeatOnNewPage></Header><TableGroups><TableGroup><Grouping Name="table1_Group1"><GroupExpressions><GroupExpression>=Fields!Server.Value</GroupExpression></GroupExpressions></Grouping><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0) </SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox11"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Left>Solid</Left><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox11</DefaultName><ZIndex>12</ZIndex><Value>=Fields!Server.Value</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox13"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox13</DefaultName><ZIndex>11</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox15"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Right>Solid</Right><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox15</DefaultName><ZIndex>10</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems><ColSpan>5</ColSpan></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows></Header></TableGroup><TableGroup><Grouping Name="table1_Group2"><GroupExpressions><GroupExpression>=Fields!Server.Value</GroupExpression><GroupExpression>=Fields!Date.Value</GroupExpression></GroupExpressions></Grouping><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="Date"><Style><BorderColor><Default>LightGrey</Default></BorderColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">Date</DefaultName><ZIndex>9</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="Date_1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Left>Solid</Left><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">Date_1</DefaultName><ZIndex>8</ZIndex><Value>=code.FormatDate(Fields!Date.Value)</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox26"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Right>Solid</Right><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox26</DefaultName><ZIndex>7</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems><ColSpan>5</ColSpan></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows></Header></TableGroup><TableGroup><Grouping Name="table1_Group3"><GroupExpressions><GroupExpression>=Fields!Server.Value</GroupExpression><GroupExpression>=Fields!Date.Value</GroupExpression><GroupExpression>=Fields!CounterName.Value</GroupExpression><GroupExpression>=Fields!DayMaxAvg.Value</GroupExpression><GroupExpression>=Fields!DayTotal.Value</GroupExpression><GroupExpression>=Fields!DayCount.Value</GroupExpression></GroupExpressions></Grouping><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox22"><Style><BorderColor><Default>LightGrey</Default></BorderColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox22</DefaultName><ZIndex>6</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox25"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Left>Solid</Left></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox25</DefaultName><ZIndex>5</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="CounterName_1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">CounterName_1</DefaultName><ZIndex>4</ZIndex><Value>=First(Fields!CounterName.Value)</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="DayTotal"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">DayTotal</DefaultName><ZIndex>3</ZIndex><Value>=First(Format(Fields!DayTotal.Value,"######0.00"))</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="DayMaxAvg"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">DayMaxAvg</DefaultName><ZIndex>2</ZIndex><Value>=First(format(Fields!DayAvgRate.Value,"#####0.000000"))</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox29"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox29</DefaultName><ZIndex>1</ZIndex><Value>=First(format(Fields!DayMaxAvg.Value,"#####0.000000"))</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="TimePeriod_1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">TimePeriod_1</DefaultName><Value>=First(Fields!TimePeriod.Value)</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows></Header></TableGroup></TableGroups></Table></ReportItems><Style><BorderWidth><Default>0.5pt</Default></BorderWidth></Style><Height>11in</Height><ColumnSpacing>0.25in</ColumnSpacing></Body><TopMargin>1in</TopMargin><DataSources><DataSource Name="SCDW"><rd:DataSourceID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">fb44cba7-75a7-4314-b2a5-1fce44701d23</rd:DataSourceID><DataSourceReference>SCDW</DataSourceReference></DataSource></DataSources><Code>public function CurrentTimeZone() as string 
	CurrentTimeZone = System.TimeZone.CurrentTimeZone.StandardName
end function

public function FormatNumber(fieldValue, formatString) as string 
	if (fieldValue is Nothing)
		FormatNumber = "Not Available"
	else
		FormatNumber = Format(fieldValue,formatString)
	end if
end function

function formatDate(s) as string
	Dim d as date
	d=s
	formatDate=d.tostring("d")
end function</Code><Width>11in</Width><DataSets><DataSet Name="CurrentDate"><Fields><Field Name="BeginDate"><DataField>BeginDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="EndDate"><DataField>EndDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     BeginDate, EndDate
FROM         fn_GetDateRange(7) fn_GetDateRange</CommandText><Timeout>0</Timeout></Query></DataSet><DataSet Name="ComputerList"><Fields><Field Name="Computer"><DataField>Computer</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT DISTINCT SourceClassInstanceKeyValue AS Computer
FROM         [SC_Class_Rel_Computer-Exchange_View]
UNION
SELECT     '&lt;ALL&gt;'
ORDER BY Computer</CommandText><Timeout>3000000</Timeout></Query></DataSet><DataSet Name="CompGroup"><Fields><Field Name="CompGroup"><DataField>CompGroup</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     CompGroup
FROM         fn_ListComputerGroups()</CommandText><Timeout>3000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet><DataSet Name="ExchangePOP3Usage"><Fields><Field Name="Server"><DataField>Server</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="Date"><DataField>Date</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="InstanceName"><DataField>InstanceName</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="CounterName"><DataField>CounterName</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="DayMaxAvg"><DataField>DayMaxAvg</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="DayTotal"><DataField>DayTotal</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="DayCount"><DataField>DayCount</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Int32</TypeName></Field><Field Name="TimePeriod"><DataField>TimePeriod</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="DayAvgRate"><DataField>DayAvgRate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>Select tempT2.Server,tempT2.[Date]  ,tempT2.InstanceName,tempT2.CounterName,
	tempT2.DayMaxAvg,tempT2.DayTotal,tempT2.DayCount,
	tempT4.[TimePeriod],
	tempT2.DayTotal/tempT2.DayCount as DayAvgRate
from (
select Server,[Date],InstanceName,CounterName,max(PeriodAvg) as DayMaxAvg,Sum(PeriodTotal) as DayTotal,sum(PeriodCount) as DayCount
from
(SELECT  
	Server 		= CD.FullComputerName,
	InstanceName 	,--= CDD.InstanceName_PK,
	CounterName 	,-- CDD.CounterName_PK,
	[Date] 		= DD.Date,
	[TimePeriod]    = case when datepart(mi,snd.localdatetimesampled) &lt; 31 then cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'00'+' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'29' 
				  else cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'30' +' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'59' end,
	PeriodTotal	= sum(SND.SampleValue),
	PeriodAvg	= avg(SND.SampleValue),
	PeriodCount	= Count(*)
FROM    
                                (SELECT ObjectName = CDD.ObjectName_PK,CounterName = CDD.CounterName_PK,
				   [InstanceName] = CDD.InstanceName_PK, [Scale] = CDD.ScaleFactor,
				   SMC_InstanceID
  				FROM dbo.SC_CounterDetailDimension_View CDD
 				WHERE CDD.ObjectName_PK in ('MSExchangePOP3') AND 
					CDD.CounterName_PK in ('RETR Rate','USER Rate')  
				 ) dtCDD 
         inner join 
	dbo.SC_SampledNumericDataFact_View SND   ON dtCDD.SMC_InstanceID = SND.CounterDetail_FK 
        INNER JOIN
        dbo.SC_ComputerDimension_View CD 	ON CD.SMC_InstanceID = SND.Computer_FK 		
	inner join SC_DateDimension_View DD on DD.SMC_InstanceID=SND.LocalDateSampled_FK
Where 
	   snd.localdatetimesampled  between @BeginDate and @EndDate 
	    and  (@Computer = '&lt;ALL&gt;' or cd.fullcomputerName=@Computer ) --CD.ComputerId=(select computerid from sc_computerDimension_View where fullcomputername=@Computer))

group by CD.FullComputerName,dtCDD.InstanceName,dtCDD.CounterName,DD.Date,
              datepart(hh,snd.localdatetimesampled), case when datepart(mi,snd.localdatetimesampled) &lt; 31 then cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'00'+' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'29' 
				  else cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'30' +' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'59' end
)tempT1
group by Server,[Date],InstanceName,CounterName
) tempT2 

Inner join 

 (select Server,[Date],InstanceName,CounterName,PeriodAvg,[TimePeriod]
from
(SELECT  
	Server 		= CD.FullComputerName,
	InstanceName 	,--= CDD.InstanceName_PK,
	CounterName 	,-- CDD.CounterName_PK,
	[Date] 		=DD.Date,
	[TimePeriod]    = case when datepart(mi,snd.localdatetimesampled) &lt; 31 then cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'00'+' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'29' 
				  else cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'30' +' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'59' end,
	--PeriodTotal	= sum(SND.SampleValue),
	PeriodAvg	= avg(SND.SampleValue)
	--PeriodCount	= Count(*)
FROM    
                                (SELECT ObjectName = CDD.ObjectName_PK,CounterName = CDD.CounterName_PK,
				   [InstanceName] = CDD.InstanceName_PK, [Scale] = CDD.ScaleFactor,
				   SMC_InstanceID
  				FROM dbo.SC_CounterDetailDimension_View CDD
 				WHERE CDD.ObjectName_PK in ('MSExchangePOP3') AND 
					CDD.CounterName_PK in ('RETR Rate','USER Rate')  
				 ) dtCDD 
         inner join 
	dbo.SC_SampledNumericDataFact_View SND   ON dtCDD.SMC_InstanceID = SND.CounterDetail_FK 
        INNER JOIN
        dbo.SC_ComputerDimension_View CD 	ON CD.SMC_InstanceID = SND.Computer_FK 		
	inner join SC_DateDimension_View DD on DD.SMC_InstanceID=SND.LocalDateSampled_FK
Where 
	   snd.localdatetimesampled  between @BeginDate and @EndDate 
	    and  (@Computer = '&lt;ALL&gt;' or cd.fullcomputerName=@Computer ) --CD.ComputerId=(select computerid from sc_computerDimension_View where fullcomputername=@Computer))
group by CD.FullComputerName,dtCDD.InstanceName,dtCDD.CounterName,DD.Date,
              datepart(hh,snd.localdatetimesampled), case when datepart(mi,snd.localdatetimesampled) &lt; 31 then cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'00'+' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'29' 
				  else cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'30' +' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'59' end
)tempT3)tempT4

on      tempT4.Server = tempT2.Server and
	TempT4.[Date]= tempT2.[Date] and
	tempT4.InstanceName = tempT2.InstanceName and
	tempT4.CounterName  = tempT2.CounterName and
	tempT4.PeriodAvg    = tempT2.DayMaxAvg  
	--TempT4.[Date] between @BeginDate and @EndDate and
	--(@Computer = '&lt;ALL&gt;' or tempT4.Server =@Computer)

order by tempT2.Server,tempT2.[Date]</CommandText><QueryParameters><QueryParameter Name="@BeginDate"><Value>=Parameters!BeginDate.Value</Value></QueryParameter><QueryParameter Name="@EndDate"><Value>=Parameters!EndDate.Value</Value></QueryParameter><QueryParameter Name="@Computer"><Value>=Parameters!Computer.Value</Value></QueryParameter></QueryParameters><Timeout>300000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet></DataSets><LeftMargin>1in</LeftMargin><rd:SnapToGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:SnapToGrid><rd:DrawGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:DrawGrid><Description /><PageWidth>13in</PageWidth><rd:ReportID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">212d782b-9718-4b8d-a1c1-2bd72afd7b82</rd:ReportID><PageFooter><ReportItems><Textbox Name="textboxPageNumber_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.2in</Top><Height>0.25in</Height><Value>="Page " &amp; Globals.PageNumber &amp; "/" &amp; Globals.TotalPages</Value><Left>4in</Left></Textbox><Textbox Name="textbox1DateTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><Top>0.2in</Top><Height>0.25in</Height><Width>4in</Width><Value>="All dates and  times shown in " &amp; Code.CurrentTimeZone()</Value></Textbox></ReportItems><PrintOnLastPage>true</PrintOnLastPage><PrintOnFirstPage>true</PrintOnFirstPage><Style /><Height>0.5in</Height></PageFooter><BottomMargin>1in</BottomMargin><ReportParameters><ReportParameter Name="BeginDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>BeginDate</ValueField></DataSetReference></DefaultValue><Prompt>Begin Date</Prompt></ReportParameter><ReportParameter Name="EndDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>EndDate</ValueField></DataSetReference></DefaultValue><Prompt>End Date</Prompt></ReportParameter><ReportParameter Name="Computer"><DataType>String</DataType><Prompt>Server</Prompt><ValidValues><DataSetReference><DataSetName>ComputerList</DataSetName><ValueField>Computer</ValueField><LabelField>Computer</LabelField></DataSetReference></ValidValues></ReportParameter><ReportParameter Name="SortBy"><DataType>String</DataType><DefaultValue><Values><Value>Server</Value></Values></DefaultValue><Prompt>Sort By</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Server</Value></ParameterValue><ParameterValue><Value>Date</Value></ParameterValue><ParameterValue><Value>CounterName</Value><Label>Performance Counter</Label></ParameterValue><ParameterValue><Value>DayTotal</Value><Label>Total</Label></ParameterValue><ParameterValue><Value>DayAvgRate</Value><Label>Avg. Rate during day</Label></ParameterValue><ParameterValue><Value>DayMaxAvg</Value><Label>Highest Avg. Rate in 1/2 hr. period</Label></ParameterValue><ParameterValue><Value>TimePeriod</Value><Label>Time Period of Highest Avg. Rate</Label></ParameterValue></ParameterValues></ValidValues></ReportParameter><ReportParameter Name="Direction"><DataType>String</DataType><DefaultValue><Values><Value>Ascending</Value></Values></DefaultValue><Prompt>Sort Order</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Ascending</Value></ParameterValue><ParameterValue><Value>Descending</Value></ParameterValue></ParameterValues></ValidValues></ReportParameter></ReportParameters></Report>]]></ReportDefinition>
  </ReportItem>
  <ReportItem>
    <Name>Exchange SMTP Usage</Name>
    <Type>Report</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/Exchange 2000 and 2003 Protocol Usage/Exchange SMTP Usage</Path>
    <ReportDefinition><![CDATA[<?xml version='1.0' encoding='utf-8'?><Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportdefinition"><rd:GridSpacing xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">0.05in</rd:GridSpacing><RightMargin>1in</RightMargin><Body><ReportItems><Textbox Name="textboxRightLogo"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/2Inch_Logo.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>6</ZIndex><Height>0.5625in</Height><Value /><Left>9in</Left></Textbox><Textbox Name="textboxReportTitle_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/9Inch_Banner.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>5</ZIndex><Height>0.5625in</Height><Width>9in</Width><CanGrow>true</CanGrow><Value>Exchange SMTP Usage</Value></Textbox><Textbox Name="textboxExecutionTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>4</ZIndex><Top>0.5625in</Top><Height>0.25in</Height><Value>=Globals.ExecutionTime</Value><Left>9in</Left></Textbox><Textbox Name="textboxParameterValue_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.375in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!Computer.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterValue_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.25in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!BeginDate.Value &amp; " - " &amp; Parameters!EndDate.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterName_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.375in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Server :</Value></Textbox><Textbox Name="textboxParameterName_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.25in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Date Range :</Value></Textbox><Textbox Name="textboxDescription_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>GhostWhite</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.8125in</Top><ToggleImage><InitialState>true</InitialState></ToggleImage><Height>0.375in</Height><Visibility><ToggleItem>textboxDescriptionHeading_tmp</ToggleItem><Hidden>true</Hidden></Visibility><CanGrow>true</CanGrow><Value>= "This report provides Exchange 2000/2003 servers' SMTP usage based on key performance counters. The report presents daily total and average for the counters for the specified time period.  Highest average for each counter in a ½ hour period is also included with the time of occurrence for the highest average. The data is ordered by server name and date."  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "The following rules need to be enabled for data to be collected:"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "For Exchange 2000 Server:"  &amp; VbCrLf &amp;  "–      Microsoft Exchange Server\Exchange 2000\Performance Counter Logging Rules\Exchange Utilization and Performance\Performance Rules"  &amp; VbCrLf &amp;  "–       SMTP: Message Bytes Received / second"  &amp; VbCrLf &amp;  "–       SMTP: Message Bytes Sent / second"  &amp; VbCrLf &amp;  "–       SMTP: Messages Delivered / second"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "For Exchange Server 2003:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server\Exchange 2003\Performance Counter Logging Rules\Exchange Utilization and Performance\SMTP Utilization\"  &amp; VbCrLf &amp;  "–       SMTP: Message Bytes Received / second"  &amp; VbCrLf &amp;  "–       SMTP: Message Bytes Sent / second"  &amp; VbCrLf &amp;  "–       SMTP: Messages Delivered / second" </Value></Textbox><Textbox Name="textboxDescriptionHeading_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><Top>0.5625in</Top><Height>0.25in</Height><Width>9in</Width><CanGrow>true</CanGrow><Value>Description</Value></Textbox><Table Name="table1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle></Style><Top>1.75in</Top><Height>1.125in</Height><Width>10.985in</Width><ZIndex>1</ZIndex><NoRows>= "There is no data available for this report. This can occur when there is no relevant data available for collection, the reports’ dependent rules are not enabled or when none of the relevant data has been copied to the Reporting database." </NoRows><DataSetName>ExchangeSMTPUsage</DataSetName><TableColumns><TableColumn><Width>2.04372in</Width></TableColumn><TableColumn><Width>1.53279in</Width></TableColumn><TableColumn><Width>2.68238in</Width></TableColumn><TableColumn><Width>0.89413in</Width></TableColumn><TableColumn><Width>1.02186in</Width></TableColumn><TableColumn><Width>1.40506in</Width></TableColumn><TableColumn><Width>1.40506in</Width></TableColumn></TableColumns><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox3"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Left</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox3</DefaultName><ZIndex>19</ZIndex><Value>Server</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox8"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Left</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox8</DefaultName><ZIndex>18</ZIndex><Value>Date</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox5"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Left</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox5</DefaultName><ZIndex>17</ZIndex><Value>Performance Counter</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox4"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox4</DefaultName><ZIndex>16</ZIndex><Value>Total</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox9"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox9</DefaultName><ZIndex>15</ZIndex><Value>Avg. Rate during day</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox12"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox12</DefaultName><ZIndex>14</ZIndex><Value>Highest Avg. Rate in 1/2 hr. period</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox14"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox14</DefaultName><ZIndex>13</ZIndex><Value>Time Period of Highest Avg. rate</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell></TableCells><Height>0.375in</Height></TableRow></TableRows><RepeatOnNewPage>true</RepeatOnNewPage></Header><TableGroups><TableGroup><Grouping Name="table1_Group1"><GroupExpressions><GroupExpression>=Fields!Server.Value</GroupExpression></GroupExpressions></Grouping><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0) </SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox11"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Left>Solid</Left><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox11</DefaultName><ZIndex>12</ZIndex><Value>=Fields!Server.Value</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox13"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox13</DefaultName><ZIndex>11</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox16"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Right>Solid</Right><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox16</DefaultName><ZIndex>10</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems><ColSpan>5</ColSpan></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows></Header></TableGroup><TableGroup><Grouping Name="table1_Group2"><GroupExpressions><GroupExpression>=Fields!Server.Value</GroupExpression><GroupExpression>=Fields!Date.Value</GroupExpression></GroupExpressions></Grouping><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox31"><Style><BorderColor><Default>LightGrey</Default></BorderColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox31</DefaultName><ZIndex>9</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="Date_1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Left>Solid</Left><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">Date_1</DefaultName><ZIndex>8</ZIndex><Value>=code.FormatDate(Fields!Date.Value)</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox34"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Right>Solid</Right><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox34</DefaultName><ZIndex>7</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems><ColSpan>5</ColSpan></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows></Header></TableGroup><TableGroup><Grouping Name="table1_Group3"><GroupExpressions><GroupExpression>=Fields!Server.Value</GroupExpression><GroupExpression>=Fields!Date.Value</GroupExpression><GroupExpression>=Fields!CounterName.Value</GroupExpression><GroupExpression>=Fields!DayMaxAvg.Value</GroupExpression><GroupExpression>=Fields!DayTotal.Value</GroupExpression><GroupExpression>=Fields!DayCount.Value</GroupExpression></GroupExpressions></Grouping><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox22"><Style><BorderColor><Default>LightGrey</Default></BorderColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox22</DefaultName><ZIndex>6</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox25"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Left>Solid</Left></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox25</DefaultName><ZIndex>5</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="CounterName_1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">CounterName_1</DefaultName><ZIndex>4</ZIndex><Value>=First(Fields!CounterName.Value)</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="DayTotal"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">DayTotal</DefaultName><ZIndex>3</ZIndex><Value>=First(Format(Fields!DayTotal.Value,"######0.00"))</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="DayMaxAvg"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">DayMaxAvg</DefaultName><ZIndex>2</ZIndex><Value>=First(format(Fields!DayAvgRate.Value,"#####0.000000"))</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox29"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox29</DefaultName><ZIndex>1</ZIndex><Value>=First(format(Fields!DayMaxAvg.Value,"#####0.000000"))</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="TimePeriod_1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">TimePeriod_1</DefaultName><Value>=First(Fields!TimePeriod.Value)</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows></Header></TableGroup></TableGroups></Table></ReportItems><Style><BorderWidth><Default>0.5pt</Default></BorderWidth></Style><Height>11in</Height><ColumnSpacing>0.25in</ColumnSpacing></Body><TopMargin>1in</TopMargin><DataSources><DataSource Name="SCDW"><rd:DataSourceID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">fb44cba7-75a7-4314-b2a5-1fce44701d23</rd:DataSourceID><DataSourceReference>SCDW</DataSourceReference></DataSource></DataSources><Code>public function CurrentTimeZone() as string 
	CurrentTimeZone = System.TimeZone.CurrentTimeZone.StandardName
end function

public function FormatNumber(fieldValue, formatString) as string 
	if (fieldValue is Nothing)
		FormatNumber = "Not Available"
	else
		FormatNumber = Format(fieldValue,formatString)
	end if
end function

function formatDate(s) as string
	Dim d as date
	d=s
	formatDate=d.tostring("d")
end function</Code><Width>11in</Width><DataSets><DataSet Name="CurrentDate"><Fields><Field Name="BeginDate"><DataField>BeginDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="EndDate"><DataField>EndDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     BeginDate, EndDate
FROM         fn_GetDateRange(7) fn_GetDateRange</CommandText><Timeout>0</Timeout></Query></DataSet><DataSet Name="ComputerList"><Fields><Field Name="Computer"><DataField>Computer</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT DISTINCT SourceClassInstanceKeyValue AS Computer
FROM         [SC_Class_Rel_Computer-Exchange_View]
UNION
SELECT     '&lt;ALL&gt;'
ORDER BY Computer</CommandText><Timeout>3000000</Timeout></Query></DataSet><DataSet Name="CompGroup"><Fields><Field Name="CompGroup"><DataField>CompGroup</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     CompGroup
FROM         fn_ListComputerGroups()</CommandText><Timeout>3000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet><DataSet Name="ExchangeSMTPUsage"><Fields><Field Name="Server"><DataField>Server</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="Date"><DataField>Date</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="InstanceName"><DataField>InstanceName</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="CounterName"><DataField>CounterName</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="DayMaxAvg"><DataField>DayMaxAvg</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="DayTotal"><DataField>DayTotal</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="DayCount"><DataField>DayCount</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Int32</TypeName></Field><Field Name="TimePeriod"><DataField>TimePeriod</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="DayAvgRate"><DataField>DayAvgRate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>Select tempT2.Server,tempT2.[Date]  ,tempT2.InstanceName,tempT2.CounterName,
	tempT2.DayMaxAvg,tempT2.DayTotal,tempT2.DayCount,
	tempT4.[TimePeriod],
	tempT2.DayTotal/tempT2.DayCount as DayAvgRate
from (
select Server,[Date],InstanceName,CounterName,max(PeriodAvg) as DayMaxAvg,Sum(PeriodTotal) as DayTotal,sum(PeriodCount) as DayCount
from
(SELECT  
	Server 		= CD.FullComputerName,
	InstanceName 	,--= CDD.InstanceName_PK,
	CounterName 	,-- CDD.CounterName_PK,
	[Date] 		=DD.Date,
	[TimePeriod]    = case when datepart(mi,snd.localdatetimesampled) &lt; 31 then cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'00'+' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'29' 
				  else cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'30' +' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'59' end,
	PeriodTotal	= sum(SND.SampleValue),
	PeriodAvg	= avg(SND.SampleValue),
	PeriodCount	= Count(*)
FROM    
                                (SELECT ObjectName = CDD.ObjectName_PK,CounterName = CDD.CounterName_PK,
				   [InstanceName] = CDD.InstanceName_PK, [Scale] = CDD.ScaleFactor,
				   SMC_InstanceID
  				FROM dbo.SC_CounterDetailDimension_View CDD
 				WHERE CDD.ObjectName_PK in ('SMTP Server') AND 
				CDD.CounterName_PK in ( 'Messages Submitted/sec','Messages Delivered/sec',
				'Messages Sent/sec','Messages Received/sec')    
				 ) dtCDD 
         inner join 
	dbo.SC_SampledNumericDataFact_View SND   ON dtCDD.SMC_InstanceID = SND.CounterDetail_FK 
        INNER JOIN
        dbo.SC_ComputerDimension_View CD 	ON CD.SMC_InstanceID = SND.Computer_FK 		
	inner join SC_DateDimension_View DD on DD.SMC_InstanceID=SND.LocalDateSampled_FK
Where 
	   snd.localdatetimesampled  between @BeginDate and @EndDate 
	    and  (@Computer = '&lt;ALL&gt;' or cd.fullcomputerName=@Computer ) --CD.ComputerId=(select computerid from sc_computerDimension_View where fullcomputername=@Computer))

group by CD.FullComputerName,dtCDD.InstanceName,dtCDD.CounterName,DD.Date,
              datepart(hh,snd.localdatetimesampled), case when datepart(mi,snd.localdatetimesampled) &lt; 31 then cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'00'+' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'29' 
				  else cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'30' +' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'59' end
)tempT1
group by Server,[Date],InstanceName,CounterName
) tempT2 

Inner join 

 (select Server,[Date],InstanceName,CounterName,PeriodAvg,[TimePeriod]
from
(SELECT  
	Server 		= CD.FullComputerName,
	InstanceName 	,--= CDD.InstanceName_PK,
	CounterName 	,-- CDD.CounterName_PK,
	[Date] 		=DD.Date,
	[TimePeriod]    = case when datepart(mi,snd.localdatetimesampled) &lt; 31 then cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'00'+' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'29' 
				  else cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'30' +' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'59' end,
	--PeriodTotal	= sum(SND.SampleValue),
	PeriodAvg	= avg(SND.SampleValue)
	--PeriodCount	= Count(*)
FROM    
                                (SELECT ObjectName = CDD.ObjectName_PK,CounterName = CDD.CounterName_PK,
				   [InstanceName] = CDD.InstanceName_PK, [Scale] = CDD.ScaleFactor,
				   SMC_InstanceID
  				FROM dbo.SC_CounterDetailDimension_View CDD
 				WHERE CDD.ObjectName_PK in ('SMTP Server') AND 
					CDD.CounterName_PK in ( 'Messages Submitted/sec','Messages Delivered/sec',
				'Messages Sent/sec','Messages Received/sec') 
				 ) dtCDD 
         inner join 
	dbo.SC_SampledNumericDataFact_View SND   ON dtCDD.SMC_InstanceID = SND.CounterDetail_FK 
        INNER JOIN
        dbo.SC_ComputerDimension_View CD 	ON CD.SMC_InstanceID = SND.Computer_FK 		
	inner join SC_DateDimension_View DD on DD.SMC_InstanceID=SND.LocalDateSampled_FK
Where 
	   snd.localdatetimesampled  between @BeginDate and @EndDate 
	    and  (@Computer = '&lt;ALL&gt;' or cd.fullcomputerName=@Computer ) --CD.ComputerId=(select computerid from sc_computerDimension_View where fullcomputername=@Computer))
group by CD.FullComputerName,dtCDD.InstanceName,dtCDD.CounterName,DD.Date,
              datepart(hh,snd.localdatetimesampled), case when datepart(mi,snd.localdatetimesampled) &lt; 31 then cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'00'+' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'29' 
				  else cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'30' +' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'59' end
)tempT3)tempT4

on      tempT4.Server = tempT2.Server and
	TempT4.[Date]= tempT2.[Date] and
	tempT4.InstanceName = tempT2.InstanceName and
	tempT4.CounterName  = tempT2.CounterName and
	tempT4.PeriodAvg    = tempT2.DayMaxAvg  
	--TempT4.[Date] between @BeginDate and @EndDate and
	--(@Computer = '&lt;ALL&gt;' or tempT4.Server =@Computer)

order by tempT2.Server,tempT2.[Date]</CommandText><QueryParameters><QueryParameter Name="@BeginDate"><Value>=Parameters!BeginDate.Value</Value></QueryParameter><QueryParameter Name="@EndDate"><Value>=Parameters!EndDate.Value</Value></QueryParameter><QueryParameter Name="@Computer"><Value>=Parameters!Computer.Value</Value></QueryParameter></QueryParameters><Timeout>300000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet></DataSets><LeftMargin>1in</LeftMargin><rd:SnapToGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:SnapToGrid><rd:DrawGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:DrawGrid><Description /><PageWidth>13in</PageWidth><rd:ReportID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">212d782b-9718-4b8d-a1c1-2bd72afd7b82</rd:ReportID><PageFooter><ReportItems><Textbox Name="textboxPageNumber_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.2in</Top><Height>0.25in</Height><Value>="Page " &amp; Globals.PageNumber &amp; "/" &amp; Globals.TotalPages</Value><Left>4in</Left></Textbox><Textbox Name="textbox1DateTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><Top>0.2in</Top><Height>0.25in</Height><Width>4in</Width><Value>="All dates and  times shown in " &amp; Code.CurrentTimeZone()</Value></Textbox></ReportItems><PrintOnLastPage>true</PrintOnLastPage><PrintOnFirstPage>true</PrintOnFirstPage><Style /><Height>0.5in</Height></PageFooter><BottomMargin>1in</BottomMargin><ReportParameters><ReportParameter Name="BeginDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>BeginDate</ValueField></DataSetReference></DefaultValue><Prompt>Begin Date</Prompt></ReportParameter><ReportParameter Name="EndDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>EndDate</ValueField></DataSetReference></DefaultValue><Prompt>End Date</Prompt></ReportParameter><ReportParameter Name="Computer"><DataType>String</DataType><Prompt>Server</Prompt><ValidValues><DataSetReference><DataSetName>ComputerList</DataSetName><ValueField>Computer</ValueField><LabelField>Computer</LabelField></DataSetReference></ValidValues></ReportParameter><ReportParameter Name="SortBy"><DataType>String</DataType><DefaultValue><Values><Value>Server</Value></Values></DefaultValue><Prompt>Sort By</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Server</Value></ParameterValue><ParameterValue><Value>Date</Value></ParameterValue><ParameterValue><Value>CounterName</Value><Label>Performance Counter</Label></ParameterValue><ParameterValue><Value>DayTotal</Value><Label>Total</Label></ParameterValue><ParameterValue><Value>DayAvgRate</Value><Label>Avg. Rate during day</Label></ParameterValue><ParameterValue><Value>DayMaxAvg</Value><Label>Highest Avg. Rate in 1/2 hr. period</Label></ParameterValue><ParameterValue><Value>TimePeriod</Value><Label>Time Period of Highest Avg. Rate</Label></ParameterValue></ParameterValues></ValidValues></ReportParameter><ReportParameter Name="Direction"><DataType>String</DataType><DefaultValue><Values><Value>Ascending</Value></Values></DefaultValue><Prompt>Sort Order</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Ascending</Value></ParameterValue><ParameterValue><Value>Descending</Value></ParameterValue></ParameterValues></ValidValues></ReportParameter></ReportParameters></Report>]]></ReportDefinition>
  </ReportItem>
  <ReportItem>
    <Name>Exchange Web Mail Usage</Name>
    <Type>Report</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/Exchange 2000 and 2003 Protocol Usage/Exchange Web Mail Usage</Path>
    <ReportDefinition><![CDATA[<?xml version='1.0' encoding='utf-8'?><Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportdefinition"><rd:GridSpacing xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">0.05in</rd:GridSpacing><RightMargin>1in</RightMargin><Body><ReportItems><Textbox Name="textboxRightLogo"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/2Inch_Logo.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>6</ZIndex><Height>0.5625in</Height><Value /><Left>9in</Left></Textbox><Textbox Name="textboxReportTitle_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/9Inch_Banner.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>5</ZIndex><Height>0.5625in</Height><Width>9in</Width><CanGrow>true</CanGrow><Value>Exchange Web Mail Usage</Value></Textbox><Textbox Name="textboxExecutionTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>4</ZIndex><Top>0.5625in</Top><Height>0.25in</Height><Value>=Globals.ExecutionTime</Value><Left>9in</Left></Textbox><Textbox Name="textboxParameterValue_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.375in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!Computer.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterValue_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.25in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!BeginDate.Value &amp; " - " &amp; Parameters!EndDate.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterName_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.375in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Server :</Value></Textbox><Textbox Name="textboxParameterName_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.25in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Date Range :</Value></Textbox><Textbox Name="textboxDescription_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>GhostWhite</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.8125in</Top><ToggleImage><InitialState>true</InitialState></ToggleImage><Height>0.375in</Height><Visibility><ToggleItem>textboxDescriptionHeading_tmp</ToggleItem><Hidden>true</Hidden></Visibility><CanGrow>true</CanGrow><Value>= "This report provides Exchange 2000/2003 servers' Web Mail usage based on key performance counters. The report presents daily total and average for the counters for the specified time period. Highest average for each counter in a ½ hour period is also included with the time of occurrence for the highest average. The data is ordered by server name and date."  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "The following rules need to be enabled for data to be collected:"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "For Exchange 2000 Server:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server\Exchange 2000\Performance Counter Logging Rules\Exchange Utilization and Performance\Performance Rules"  &amp; VbCrLf &amp;  "–       Outlook Web Access: Message Opens / second"  &amp; VbCrLf &amp;  "–       Outlook Web Access: Message Sends / second"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "For Exchange Server 2003:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server\Exchange 2003\Performance Counter Logging Rules\Exchange Utilization and Performance\Outlook Web Access Utilization\"  &amp; VbCrLf &amp;  "–       Outlook Web Access: Message Opens / second"  &amp; VbCrLf &amp;  "–       Outlook Web Access: Message Sends / second" </Value></Textbox><Textbox Name="textboxDescriptionHeading_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><Top>0.5625in</Top><Height>0.25in</Height><Width>9in</Width><CanGrow>true</CanGrow><Value>Description</Value></Textbox><Table Name="table1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle></Style><Top>1.75in</Top><Height>1.125in</Height><Width>10.985in</Width><ZIndex>1</ZIndex><NoRows>= "There is no data available for this report. This can occur when there is no relevant data available for collection, the reports’ dependent rules are not enabled or when none of the relevant data has been copied to the Reporting database." </NoRows><DataSetName>ExchangeWebMailUsage</DataSetName><TableColumns><TableColumn><Width>2.04372in</Width></TableColumn><TableColumn><Width>1.53279in</Width></TableColumn><TableColumn><Width>2.68238in</Width></TableColumn><TableColumn><Width>0.89413in</Width></TableColumn><TableColumn><Width>1.02186in</Width></TableColumn><TableColumn><Width>1.40506in</Width></TableColumn><TableColumn><Width>1.40506in</Width></TableColumn></TableColumns><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox3"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Left</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox3</DefaultName><ZIndex>19</ZIndex><Value>Server</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox8"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Left</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox8</DefaultName><ZIndex>18</ZIndex><Value>Date</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox5"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Left</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox5</DefaultName><ZIndex>17</ZIndex><Value>Performance Counter</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox4"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox4</DefaultName><ZIndex>16</ZIndex><Value>Total</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox9"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox9</DefaultName><ZIndex>15</ZIndex><Value>Avg. Rate during day</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox12"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox12</DefaultName><ZIndex>14</ZIndex><Value>Highest Avg. Rate in 1/2 hr. period</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox14"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox14</DefaultName><ZIndex>13</ZIndex><Value>Time Period of Highest Avg. rate</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell></TableCells><Height>0.375in</Height></TableRow></TableRows><RepeatOnNewPage>true</RepeatOnNewPage></Header><TableGroups><TableGroup><Grouping Name="table1_Group1"><GroupExpressions><GroupExpression>=Fields!Server.Value</GroupExpression></GroupExpressions></Grouping><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0) </SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox11"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Left>Solid</Left><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox11</DefaultName><ZIndex>12</ZIndex><Value>=Fields!Server.Value</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox13"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox13</DefaultName><ZIndex>11</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox16"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox16</DefaultName><ZIndex>10</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems><ColSpan>5</ColSpan></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows></Header></TableGroup><TableGroup><Grouping Name="table1_Group2"><GroupExpressions><GroupExpression>=Fields!Server.Value</GroupExpression><GroupExpression>=Fields!Date.Value</GroupExpression></GroupExpressions></Grouping><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox31"><Style><BorderColor><Default>LightGrey</Default></BorderColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox31</DefaultName><ZIndex>9</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="Date_1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Left>Solid</Left><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">Date_1</DefaultName><ZIndex>8</ZIndex><Value>=code.FormatDate(Fields!Date.Value)</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox34"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Right>Solid</Right><Top>Solid</Top><Bottom>Solid</Bottom></BorderStyle><BackgroundColor>GhostWhite</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox34</DefaultName><ZIndex>7</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems><ColSpan>5</ColSpan></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows></Header></TableGroup><TableGroup><Grouping Name="table1_Group3"><GroupExpressions><GroupExpression>=Fields!Server.Value</GroupExpression><GroupExpression>=Fields!Date.Value</GroupExpression><GroupExpression>=Fields!CounterName.Value</GroupExpression><GroupExpression>=Fields!DayMaxAvg.Value</GroupExpression><GroupExpression>=Fields!DayTotal.Value</GroupExpression><GroupExpression>=Fields!DayCount.Value</GroupExpression></GroupExpressions></Grouping><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox22"><Style><BorderColor><Default>LightGrey</Default></BorderColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox22</DefaultName><ZIndex>6</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox25"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Left>Solid</Left><Right>Solid</Right></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox25</DefaultName><ZIndex>5</ZIndex><Value /><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="CounterName_1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">CounterName_1</DefaultName><ZIndex>4</ZIndex><Value>=First(Fields!CounterName.Value)</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="DayTotal"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">DayTotal</DefaultName><ZIndex>3</ZIndex><Value>=First(Format(Fields!DayTotal.Value,"######0.00"))</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="DayMaxAvg"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">DayMaxAvg</DefaultName><ZIndex>2</ZIndex><Value>=First(format(Fields!DayAvgRate.Value,"#####0.000000"))</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox29"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox29</DefaultName><ZIndex>1</ZIndex><Value>=First(format(Fields!DayMaxAvg.Value,"#####0.000000"))</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="TimePeriod_1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">TimePeriod_1</DefaultName><Value>=First(Fields!TimePeriod.Value)</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows></Header></TableGroup></TableGroups></Table></ReportItems><Style><BorderWidth><Default>0.5pt</Default></BorderWidth></Style><Height>11in</Height><ColumnSpacing>0.25in</ColumnSpacing></Body><TopMargin>1in</TopMargin><DataSources><DataSource Name="SCDW"><rd:DataSourceID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">fb44cba7-75a7-4314-b2a5-1fce44701d23</rd:DataSourceID><DataSourceReference>SCDW</DataSourceReference></DataSource></DataSources><Code>public function CurrentTimeZone() as string 
	CurrentTimeZone = System.TimeZone.CurrentTimeZone.StandardName
end function

public function FormatNumber(fieldValue, formatString) as string 
	if (fieldValue is Nothing)
		FormatNumber = "Not Available"
	else
		FormatNumber = Format(fieldValue,formatString)
	end if
end function

function formatDate(s) as string
	Dim d as date
	d=s
	formatDate=d.tostring("d")
end function</Code><Width>11in</Width><DataSets><DataSet Name="CurrentDate"><Fields><Field Name="BeginDate"><DataField>BeginDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="EndDate"><DataField>EndDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     BeginDate, EndDate
FROM         fn_GetDateRange(7) fn_GetDateRange</CommandText><Timeout>0</Timeout></Query></DataSet><DataSet Name="ComputerList"><Fields><Field Name="Computer"><DataField>Computer</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT DISTINCT SourceClassInstanceKeyValue AS Computer
FROM         [SC_Class_Rel_Computer-Exchange_View]
UNION
SELECT     '&lt;ALL&gt;'
ORDER BY Computer</CommandText><Timeout>3000000</Timeout></Query></DataSet><DataSet Name="CompGroup"><Fields><Field Name="CompGroup"><DataField>CompGroup</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     CompGroup
FROM         fn_ListComputerGroups()</CommandText><Timeout>3000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet><DataSet Name="ExchangeWebMailUsage"><Fields><Field Name="Server"><DataField>Server</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="Date"><DataField>Date</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="InstanceName"><DataField>InstanceName</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="CounterName"><DataField>CounterName</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="DayMaxAvg"><DataField>DayMaxAvg</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="DayTotal"><DataField>DayTotal</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="DayCount"><DataField>DayCount</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Int32</TypeName></Field><Field Name="TimePeriod"><DataField>TimePeriod</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="DayAvgRate"><DataField>DayAvgRate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>Select tempT2.Server,tempT2.[Date]  ,tempT2.InstanceName,tempT2.CounterName,
	tempT2.DayMaxAvg,tempT2.DayTotal,tempT2.DayCount,
	tempT4.[TimePeriod],
	tempT2.DayTotal/tempT2.DayCount as DayAvgRate
from (
select Server,[Date],InstanceName,CounterName,max(PeriodAvg) as DayMaxAvg,Sum(PeriodTotal) as DayTotal,sum(PeriodCount) as DayCount
from
(SELECT  
	Server 		= CD.FullComputerName,
	InstanceName 	,--= CDD.InstanceName_PK,
	CounterName 	,-- CDD.CounterName_PK,
	[Date] 		= DD.Date,
	[TimePeriod]    = case when datepart(mi,snd.localdatetimesampled) &lt; 31 then cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'00'+' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'29' 
				  else cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'30' +' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'59' end,
	PeriodTotal	= sum(SND.SampleValue),
	PeriodAvg	= avg(SND.SampleValue),
	PeriodCount	= Count(*)
FROM    
                                (SELECT ObjectName = CDD.ObjectName_PK,CounterName = CDD.CounterName_PK,
				   [InstanceName] = CDD.InstanceName_PK, [Scale] = CDD.ScaleFactor,
				   SMC_InstanceID
  				FROM dbo.SC_CounterDetailDimension_View CDD
 				WHERE CDD.ObjectName_PK in ('MSExchange Web Mail') AND 
					CDD.CounterName_PK in ('Message opens per sec','Message sends per sec')     
				 ) dtCDD 
         inner join 
	dbo.SC_SampledNumericDataFact_View SND   ON dtCDD.SMC_InstanceID = SND.CounterDetail_FK 
        INNER JOIN
        dbo.SC_ComputerDimension_View CD 	ON CD.SMC_InstanceID = SND.Computer_FK 		
	inner join SC_DateDimension_View DD on DD.SMC_InstanceID=SND.LocalDateSampled_FK
Where 
	   snd.localdatetimesampled  between @BeginDate and @EndDate 
	    and  (@Computer = '&lt;ALL&gt;' or cd.fullcomputerName=@Computer ) --CD.ComputerId=(select computerid from sc_computerDimension_View where fullcomputername=@Computer))

group by CD.FullComputerName,dtCDD.InstanceName,dtCDD.CounterName,DD.Date,
              datepart(hh,snd.localdatetimesampled), case when datepart(mi,snd.localdatetimesampled) &lt; 31 then cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'00'+' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'29' 
				  else cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'30' +' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'59' end
)tempT1
group by Server,[Date],InstanceName,CounterName
) tempT2 

Inner join 

 (select Server,[Date],InstanceName,CounterName,PeriodAvg,[TimePeriod]
from
(SELECT  
	Server 		= CD.FullComputerName,
	InstanceName 	,--= CDD.InstanceName_PK,
	CounterName 	,-- CDD.CounterName_PK,
	[Date] 		= DD.Date,
	[TimePeriod]    = case when datepart(mi,snd.localdatetimesampled) &lt; 31 then cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'00'+' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'29' 
				  else cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'30' +' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'59' end,
	--PeriodTotal	= sum(SND.SampleValue),
	PeriodAvg	= avg(SND.SampleValue)
	--PeriodCount	= Count(*)
FROM    
                                (SELECT ObjectName = CDD.ObjectName_PK,CounterName = CDD.CounterName_PK,
				   [InstanceName] = CDD.InstanceName_PK, [Scale] = CDD.ScaleFactor,
				   SMC_InstanceID
  				FROM dbo.SC_CounterDetailDimension_View CDD
 				WHERE CDD.ObjectName_PK in ('MSExchange Web Mail') AND 
				CDD.CounterName_PK in ('Message opens per sec','Message sends per sec')  
				 ) dtCDD 
         inner join 
	dbo.SC_SampledNumericDataFact_View SND   ON dtCDD.SMC_InstanceID = SND.CounterDetail_FK 
        INNER JOIN
        dbo.SC_ComputerDimension_View CD 	ON CD.SMC_InstanceID = SND.Computer_FK 		
	inner join SC_DateDimension_View DD on DD.SMC_InstanceID=SND.LocalDateSampled_FK
Where 
	   snd.localdatetimesampled  between @BeginDate and @EndDate 
	    and  (@Computer = '&lt;ALL&gt;' or cd.fullcomputerName=@Computer ) --CD.ComputerId=(select computerid from sc_computerDimension_View where fullcomputername=@Computer))
group by CD.FullComputerName,dtCDD.InstanceName,dtCDD.CounterName,DD.Date,
              datepart(hh,snd.localdatetimesampled), case when datepart(mi,snd.localdatetimesampled) &lt; 31 then cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'00'+' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'29' 
				  else cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'30' +' - '+ cast(datepart(hh,snd.localdatetimesampled) as nvarchar(2))+':'+'59' end
)tempT3)tempT4

on      tempT4.Server = tempT2.Server and
	TempT4.[Date]= tempT2.[Date] and
	tempT4.InstanceName = tempT2.InstanceName and
	tempT4.CounterName  = tempT2.CounterName and
	tempT4.PeriodAvg    = tempT2.DayMaxAvg  
	--TempT4.[Date] between @BeginDate and @EndDate and
	--(@Computer = '&lt;ALL&gt;' or tempT4.Server =@Computer)

order by tempT2.Server,tempT2.[Date]</CommandText><QueryParameters><QueryParameter Name="@BeginDate"><Value>=Parameters!BeginDate.Value</Value></QueryParameter><QueryParameter Name="@EndDate"><Value>=Parameters!EndDate.Value</Value></QueryParameter><QueryParameter Name="@Computer"><Value>=Parameters!Computer.Value</Value></QueryParameter></QueryParameters><Timeout>300000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet></DataSets><LeftMargin>1in</LeftMargin><rd:SnapToGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:SnapToGrid><rd:DrawGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:DrawGrid><Description /><PageWidth>13in</PageWidth><rd:ReportID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">212d782b-9718-4b8d-a1c1-2bd72afd7b82</rd:ReportID><PageFooter><ReportItems><Textbox Name="textboxPageNumber_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.2in</Top><Height>0.25in</Height><Value>="Page " &amp; Globals.PageNumber &amp; "/" &amp; Globals.TotalPages</Value><Left>4in</Left></Textbox><Textbox Name="textbox1DateTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><Top>0.2in</Top><Height>0.25in</Height><Width>4in</Width><Value>="All dates and  times shown in " &amp; Code.CurrentTimeZone()</Value></Textbox></ReportItems><PrintOnLastPage>true</PrintOnLastPage><PrintOnFirstPage>true</PrintOnFirstPage><Style /><Height>0.5in</Height></PageFooter><BottomMargin>1in</BottomMargin><ReportParameters><ReportParameter Name="BeginDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>BeginDate</ValueField></DataSetReference></DefaultValue><Prompt>Begin Date</Prompt></ReportParameter><ReportParameter Name="EndDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>EndDate</ValueField></DataSetReference></DefaultValue><Prompt>End Date</Prompt></ReportParameter><ReportParameter Name="Computer"><DataType>String</DataType><Prompt>Server</Prompt><ValidValues><DataSetReference><DataSetName>ComputerList</DataSetName><ValueField>Computer</ValueField><LabelField>Computer</LabelField></DataSetReference></ValidValues></ReportParameter><ReportParameter Name="SortBy"><DataType>String</DataType><DefaultValue><Values><Value>Server</Value></Values></DefaultValue><Prompt>Sort By</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Server</Value></ParameterValue><ParameterValue><Value>Date</Value></ParameterValue><ParameterValue><Value>CounterName</Value><Label>Performance Counter</Label></ParameterValue><ParameterValue><Value>DayTotal</Value><Label>Total</Label></ParameterValue><ParameterValue><Value>DayAvgRate</Value><Label>Avg. Rate during day</Label></ParameterValue><ParameterValue><Value>DayMaxAvg</Value><Label>Highest Avg. Rate in 1/2 hr. period</Label></ParameterValue><ParameterValue><Value>TimePeriod</Value><Label>Time Period of Highest Avg. Rate</Label></ParameterValue></ParameterValues></ValidValues></ReportParameter><ReportParameter Name="Direction"><DataType>String</DataType><DefaultValue><Values><Value>Ascending</Value></Values></DefaultValue><Prompt>Sort Order</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Ascending</Value></ParameterValue><ParameterValue><Value>Descending</Value></ParameterValue></ParameterValues></ValidValues></ReportParameter></ReportParameters></Report>]]></ReportDefinition>
  </ReportItem>
  <ReportItem>
    <Name>SCDW</Name>
    <Type>DataSource</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/Exchange 2000 and 2003 Protocol Usage/SCDW</Path>
    <DataSourceDefinitionContainer><![CDATA[<?xml version="1.0"?>
<DataSourceDefinition xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Extension xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">SQL</Extension>
  <ConnectString xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">data source=.;initial catalog=SystemCenterReporting</ConnectString>
  <CredentialRetrieval xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">Integrated</CredentialRetrieval>
  <WindowsCredentials xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">false</WindowsCredentials>
  <ImpersonateUser xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">false</ImpersonateUser>
  <Prompt xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">Enter a user name and password to access the data source:</Prompt>
  <Enabled xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">true</Enabled>
</DataSourceDefinition>]]></DataSourceDefinitionContainer>
  </ReportItem>
  <ReportItem>
    <Name>Exchange 2000 and 2003 Traffic Analysis</Name>
    <Type>Folder</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/Exchange 2000 and 2003 Traffic Analysis</Path>
  </ReportItem>
  <ReportItem>
    <Name>Mail Delivered - Top 100 Recipient Mailboxes by Count</Name>
    <Type>Report</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/Exchange 2000 and 2003 Traffic Analysis/Mail Delivered - Top 100 Recipient Mailboxes by Count</Path>
    <ReportDefinition><![CDATA[<?xml version='1.0' encoding='utf-8'?><Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportdefinition"><rd:GridSpacing xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">0.05in</rd:GridSpacing><RightMargin>1in</RightMargin><Body><ReportItems><Textbox Name="textboxRightLogo"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/2Inch_Logo.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>6</ZIndex><Height>0.5625in</Height><Value /><Left>4.5in</Left></Textbox><Textbox Name="textboxReportTitle_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/4.5Inch_Banner.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>5</ZIndex><Height>0.5625in</Height><Width>4.5in</Width><Value>Mail Delivered - Top 100 Recipient Mailboxes (by Count)</Value></Textbox><Textbox Name="textboxExecutionTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>4</ZIndex><Top>0.5625in</Top><Height>0.25in</Height><Value>=Globals.ExecutionTime</Value><Left>4.5in</Left></Textbox><Textbox Name="textboxParameterValue_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.375in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!Computer.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterValue_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.25in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!BeginDate.Value &amp; " - " &amp; Parameters!EndDate.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterName_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.375in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Server :</Value></Textbox><Textbox Name="textboxParameterName_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.25in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Date Range :</Value></Textbox><Textbox Name="textboxDescription_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>GhostWhite</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.8125in</Top><ToggleImage><InitialState>true</InitialState></ToggleImage><Height>0.375in</Height><Visibility><ToggleItem>textboxDescriptionHeading_tmp</ToggleItem><Hidden>true</Hidden></Visibility><CanGrow>true</CanGrow><Value>= "This report shows the amount of message traffic being delivered to given server, ordered by the number of such mails delivered to each recipient. This is generated with Message Tracking Log data from event 1023. Traffic analysis reports the frequency that a mail item passes through a server. Because an item of mail may loop through a SMTP Bridgehead server more than once, these reports are more accurate when targeted against mailbox servers."  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "The following rules need to be enabled for data to be collected:"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "For Exchange 2000 Server:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server\Exchange 2000\Server Utilization Logging:Reports and views\Report Collection"  &amp; VbCrLf &amp;  "–       Report Collection - Message Tracking Log Data"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "For Exchange Server 2003:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server\Exchange 2003\Report Collection Rules\Message Tracking Log Analysis\"  &amp; VbCrLf &amp;  "–       Report Collection - Message Tracking Log Data" </Value></Textbox><Textbox Name="textboxDescriptionHeading_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><Top>0.5625in</Top><Height>0.25in</Height><Width>4.5in</Width><CanGrow>true</CanGrow><Value>Description</Value></Textbox><Table Name="table1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle></Style><Top>1.75in</Top><ZIndex>1</ZIndex><NoRows>= "There is no data available for this report. This can occur when there is no relevant data available for collection, the reports’ dependent rules are not enabled or when none of the relevant data has been copied to the Reporting database." </NoRows><DataSetName>ExchangeMailDelivered</DataSetName><TableColumns><TableColumn><Width>2.375in</Width></TableColumn><TableColumn><Width>2.375in</Width></TableColumn><TableColumn><Width>0.875in</Width></TableColumn><TableColumn><Width>0.875in</Width></TableColumn></TableColumns><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox11"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox11</DefaultName><ZIndex>7</ZIndex><Value>Receiving Address</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox3"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox3</DefaultName><ZIndex>6</ZIndex><Value>Server</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox4"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox4</DefaultName><ZIndex>5</ZIndex><Value>MB Received</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox5"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox5</DefaultName><ZIndex>4</ZIndex><Value>Messages Received</Value></Textbox></ReportItems></TableCell></TableCells><Height>0.375in</Height></TableRow></TableRows><RepeatOnNewPage>true</RepeatOnNewPage></Header><Details><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="InstanceName"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">InstanceName</DefaultName><ZIndex>3</ZIndex><Value>=Fields!InstanceName.Value</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="Server"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">Server</DefaultName><ZIndex>2</ZIndex><Value>=Fields!Server.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="TotalMB"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Format>F</Format><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">TotalMB</DefaultName><ZIndex>1</ZIndex><Value>=Format(Fields!TotalMB.Value,"#########0.00")</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="TotalMsgCount"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Format>F</Format><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">TotalMsgCount</DefaultName><Value>=Fields!TotalMsgCount.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting></Details></Table></ReportItems><Style><BorderWidth><Default>0.5pt</Default></BorderWidth></Style><Height>2.5in</Height><ColumnSpacing>0.25in</ColumnSpacing></Body><TopMargin>1in</TopMargin><DataSources><DataSource Name="SCDW"><rd:DataSourceID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">fb44cba7-75a7-4314-b2a5-1fce44701d23</rd:DataSourceID><DataSourceReference>SCDW</DataSourceReference></DataSource></DataSources><Code>public function CurrentTimeZone() as string 
	CurrentTimeZone = System.TimeZone.CurrentTimeZone.StandardName
end function

public function FormatNumber(fieldValue, formatString) as string 
	if (fieldValue is Nothing)
		FormatNumber = "Not Available"
	else
		FormatNumber = Format(fieldValue,formatString)
	end if
end function
</Code><Width>6.5in</Width><DataSets><DataSet Name="CurrentDate"><Fields><Field Name="BeginDate"><DataField>BeginDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="EndDate"><DataField>EndDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     BeginDate, EndDate
FROM         fn_GetDateRange(7) fn_GetDateRange</CommandText><Timeout>0</Timeout></Query></DataSet><DataSet Name="ComputerList"><Fields><Field Name="Computer"><DataField>Computer</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT DISTINCT SourceClassInstanceKeyValue AS Computer
FROM         [SC_Class_Rel_Computer-Exchange_View]
UNION
SELECT     '&lt;ALL&gt;'
ORDER BY Computer</CommandText><Timeout>3000000</Timeout></Query></DataSet><DataSet Name="CompGroup"><Fields><Field Name="CompGroup"><DataField>CompGroup</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     CompGroup
FROM         fn_ListComputerGroups()</CommandText><Timeout>3000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet><DataSet Name="ExchangeMailDelivered"><Fields><Field Name="InstanceName"><DataField>InstanceName</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="Server"><DataField>Server</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="TotalMsgCount"><DataField>TotalMsgCount</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="TotalMB"><DataField>TotalMB</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT  Top 100
	InstanceName, 
	Server, 
	ROUND(AVG(MsgCount), 0) AS TotalMsgCount, 
	AVG(TotalMB) AS TotalMB 
FROM
(SELECT  
	InstanceName 	=CDD.InstanceName_PK,
	[Time] 		= SND.LocalDateTimeSampled, 
	Server 		= CD.FullComputerName,
	TotalMB		= CASE WHEN( CDD.ObjectName_PK='McExchDG' and CDD.CounterName_PK='Local Recipient MB') then SND.SampleValue END ,
	MsgCount	= CASE WHEN( CDD.ObjectName_PK='McExchDG' and CDD.CounterName_PK='Local Recipient Message Count') then SND.SampleValue END 
FROM          
	dbo.SC_SampledNumericDataFact_View SND INNER JOIN
        dbo.SC_CounterDetailDimension_View CDD ON CDD.SMC_InstanceID = SND.CounterDetail_FK INNER JOIN
        dbo.SC_ComputerDimension_View CD ON CD.SMC_InstanceID = SND.Computer_FK 
WHERE   	CDD.ObjectName_PK in ('McExchDG') AND CDD.CounterName_PK in ('Local Recipient MB','Local Recipient Message Count') 
	and SND.LocalDateTimeSampled between @BeginDate and @EndDate and (@Computer='&lt;ALL&gt;' or CD.FullComputerName =@Computer)) temp
Group by InstanceName,Server
Order by ROUND(AVG(MsgCount), 0)</CommandText><QueryParameters><QueryParameter Name="@BeginDate"><Value>=Parameters!BeginDate.Value</Value></QueryParameter><QueryParameter Name="@EndDate"><Value>=Parameters!EndDate.Value</Value></QueryParameter><QueryParameter Name="@Computer"><Value>=Parameters!Computer.Value</Value></QueryParameter></QueryParameters><Timeout>300000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet></DataSets><LeftMargin>1in</LeftMargin><rd:SnapToGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:SnapToGrid><rd:DrawGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:DrawGrid><Description /><rd:ReportID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">212d782b-9718-4b8d-a1c1-2bd72afd7b82</rd:ReportID><PageFooter><ReportItems><Textbox Name="textboxPageNumber_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.25in</Top><Height>0.25in</Height><Value>="Page " &amp; Globals.PageNumber &amp; "/" &amp; Globals.TotalPages</Value><Left>4in</Left></Textbox><Textbox Name="textbox1DateTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><Top>0.25in</Top><Height>0.25in</Height><Width>4in</Width><Value>="All dates and  times shown in " &amp; Code.CurrentTimeZone()</Value></Textbox></ReportItems><PrintOnLastPage>true</PrintOnLastPage><PrintOnFirstPage>true</PrintOnFirstPage><Style /><Height>0.55in</Height></PageFooter><BottomMargin>1in</BottomMargin><ReportParameters><ReportParameter Name="BeginDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>BeginDate</ValueField></DataSetReference></DefaultValue><Prompt>Begin Date</Prompt></ReportParameter><ReportParameter Name="EndDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>EndDate</ValueField></DataSetReference></DefaultValue><Prompt>End Date</Prompt></ReportParameter><ReportParameter Name="Computer"><DataType>String</DataType><Prompt>Server</Prompt><ValidValues><DataSetReference><DataSetName>ComputerList</DataSetName><ValueField>Computer</ValueField><LabelField>Computer</LabelField></DataSetReference></ValidValues></ReportParameter><ReportParameter Name="SortBy"><DataType>String</DataType><DefaultValue><Values><Value>TotalMsgCount</Value></Values></DefaultValue><Prompt>Sort By</Prompt><ValidValues><ParameterValues><ParameterValue><Value>InstanceName</Value><Label>Receiving Address</Label></ParameterValue><ParameterValue><Value>Server</Value></ParameterValue><ParameterValue><Value>TotalMB</Value><Label>MB Received</Label></ParameterValue><ParameterValue><Value>TotalMsgCount</Value><Label>Messages Received</Label></ParameterValue></ParameterValues></ValidValues></ReportParameter><ReportParameter Name="Direction"><DataType>String</DataType><DefaultValue><Values><Value>Descending</Value></Values></DefaultValue><Prompt>Sort Order</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Ascending</Value></ParameterValue><ParameterValue><Value>Descending</Value></ParameterValue></ParameterValues></ValidValues></ReportParameter></ReportParameters></Report>]]></ReportDefinition>
  </ReportItem>
  <ReportItem>
    <Name>Mail Delivered - Top 100 Recipient Mailboxes by Size</Name>
    <Type>Report</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/Exchange 2000 and 2003 Traffic Analysis/Mail Delivered - Top 100 Recipient Mailboxes by Size</Path>
    <ReportDefinition><![CDATA[<?xml version='1.0' encoding='utf-8'?><Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportdefinition"><rd:GridSpacing xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">0.05in</rd:GridSpacing><RightMargin>1in</RightMargin><Body><ReportItems><Textbox Name="textboxRightLogo"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/2Inch_Logo.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>6</ZIndex><Height>0.5625in</Height><Value /><Left>4.5in</Left></Textbox><Textbox Name="textboxReportTitle_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/4.5Inch_Banner.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>5</ZIndex><Height>0.5625in</Height><Width>4.5in</Width><Value>Mail Delivered - Top 100 Recipient Mailboxes (by Size)</Value></Textbox><Textbox Name="textboxExecutionTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>4</ZIndex><Top>0.5625in</Top><Height>0.25in</Height><Value>=Globals.ExecutionTime</Value><Left>4.5in</Left></Textbox><Textbox Name="textboxParameterValue_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.375in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!Computer.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterValue_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.25in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!BeginDate.Value &amp; " - " &amp; Parameters!EndDate.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterName_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.375in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Server :</Value></Textbox><Textbox Name="textboxParameterName_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.25in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Date Range :</Value></Textbox><Textbox Name="textboxDescription_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>GhostWhite</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.8125in</Top><ToggleImage><InitialState>true</InitialState></ToggleImage><Height>0.375in</Height><Visibility><ToggleItem>textboxDescriptionHeading_tmp</ToggleItem><Hidden>true</Hidden></Visibility><CanGrow>true</CanGrow><Value>= "This report shows the amount of message traffic being delivered to a given server, ordered by the total size of such mails delivered each recipient. This is generated with Message Tracking Log data from event 1023. Traffic analysis reports the frequency that a mail item passes through a server. Because an item of mail may loop through a SMTP Bridgehead server more than once, these reports are more accurate when targeted against mailbox servers."  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "The following rules need to be enabled for data to be collected:"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "	For Exchange 2000 Server:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server\Exchange 2000\Server Utilization Logging:Reports and views\Report Collection"  &amp; VbCrLf &amp;  "–       Report Collection - Message Tracking Log Data"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "	For Exchange Server 2003:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server\Exchange 2003\Report Collection Rules\Message Tracking Log Analysis\"  &amp; VbCrLf &amp;  "–       Report Collection - Message Tracking Log Data" </Value></Textbox><Textbox Name="textboxDescriptionHeading_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><Top>0.5625in</Top><Height>0.25in</Height><Width>4.5in</Width><CanGrow>true</CanGrow><Value>Description</Value></Textbox><Table Name="table1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle></Style><Top>1.75in</Top><ZIndex>4</ZIndex><NoRows>= "There is no data available for this report. This can occur when there is no relevant data available for collection, the reports’ dependent rules are not enabled or when none of the relevant data has been copied to the Reporting database." </NoRows><DataSetName>ExchangeMailDelivered</DataSetName><TableColumns><TableColumn><Width>2.5in</Width></TableColumn><TableColumn><Width>2.25in</Width></TableColumn><TableColumn><Width>0.875in</Width></TableColumn><TableColumn><Width>0.875in</Width></TableColumn></TableColumns><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox11"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox11</DefaultName><ZIndex>7</ZIndex><Value>Receiving address</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox3"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox3</DefaultName><ZIndex>6</ZIndex><Value>Server</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox4"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox4</DefaultName><ZIndex>5</ZIndex><Value>MB Received</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox5"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox5</DefaultName><ZIndex>4</ZIndex><Value>Messages Received</Value></Textbox></ReportItems></TableCell></TableCells><Height>0.375in</Height></TableRow></TableRows><RepeatOnNewPage>true</RepeatOnNewPage></Header><Details><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="InstanceName"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">InstanceName</DefaultName><ZIndex>3</ZIndex><Value>=Fields!InstanceName.Value</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="Server"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">Server</DefaultName><ZIndex>2</ZIndex><Value>=Fields!Server.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="TotalMB"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Format>F</Format><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">TotalMB</DefaultName><ZIndex>1</ZIndex><Value>=Fields!TotalMB.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="TotalMsgCount"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Format>F</Format><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">TotalMsgCount</DefaultName><Value>=Fields!TotalMsgCount.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting></Details></Table></ReportItems><Style><BorderWidth><Default>0.5pt</Default></BorderWidth></Style><Height>2.5in</Height><ColumnSpacing>0.25in</ColumnSpacing></Body><TopMargin>1in</TopMargin><DataSources><DataSource Name="SCDW"><rd:DataSourceID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">fb44cba7-75a7-4314-b2a5-1fce44701d23</rd:DataSourceID><DataSourceReference>SCDW</DataSourceReference></DataSource></DataSources><Code>public function CurrentTimeZone() as string 
	CurrentTimeZone = System.TimeZone.CurrentTimeZone.StandardName
end function

public function FormatNumber(fieldValue, formatString) as string 
	if (fieldValue is Nothing)
		FormatNumber = "Not Available"
	else
		FormatNumber = Format(fieldValue,formatString)
	end if
end function
</Code><Width>6.5in</Width><DataSets><DataSet Name="CurrentDate"><Fields><Field Name="BeginDate"><DataField>BeginDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="EndDate"><DataField>EndDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     BeginDate, EndDate
FROM         fn_GetDateRange(7) fn_GetDateRange</CommandText><Timeout>0</Timeout></Query></DataSet><DataSet Name="ComputerList"><Fields><Field Name="Computer"><DataField>Computer</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT DISTINCT SourceClassInstanceKeyValue AS Computer
FROM         [SC_Class_Rel_Computer-Exchange_View]
UNION
SELECT     '&lt;ALL&gt;'
ORDER BY Computer</CommandText><Timeout>3000000</Timeout></Query></DataSet><DataSet Name="CompGroup"><Fields><Field Name="CompGroup"><DataField>CompGroup</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     CompGroup
FROM         fn_ListComputerGroups()</CommandText><Timeout>3000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet><DataSet Name="ExchangeMailDelivered"><Fields><Field Name="InstanceName"><DataField>InstanceName</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="Server"><DataField>Server</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="TotalMsgCount"><DataField>TotalMsgCount</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="TotalMB"><DataField>TotalMB</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT  Top 100
	InstanceName, 
	Server, 
	ROUND(AVG(MsgCount), 0) AS TotalMsgCount, 
	AVG(TotalMB) AS TotalMB 
FROM
(SELECT  
	InstanceName 	=CDD.InstanceName_PK,
	[Time] 		= SND.LocalDateTimeSampled, 
	Server 		= CD.FullComputerName,
	TotalMB		= CASE WHEN( CDD.ObjectName_PK='McExchDG' and CDD.CounterName_PK='Local Recipient MB') then SND.SampleValue END ,
	MsgCount	= CASE WHEN( CDD.ObjectName_PK='McExchDG' and CDD.CounterName_PK='Local Recipient Message Count') then SND.SampleValue END 
FROM          
	dbo.SC_SampledNumericDataFact_View SND INNER JOIN
        dbo.SC_CounterDetailDimension_View CDD ON CDD.SMC_InstanceID = SND.CounterDetail_FK INNER JOIN
        dbo.SC_ComputerDimension_View CD ON CD.SMC_InstanceID = SND.Computer_FK 
WHERE   	CDD.ObjectName_PK in ('McExchDG') AND CDD.CounterName_PK in ('Local Recipient MB','Local Recipient Message Count') and SND.LocalDateTimeSampled between @BeginDate and @EndDate and (@Computer='&lt;ALL&gt;' or CD.FullComputerName =@Computer)

) temp
Group by InstanceName,Server
Order by ROUND(AVG(MsgCount), 0)</CommandText><QueryParameters><QueryParameter Name="@BeginDate"><Value>=Parameters!BeginDate.Value</Value></QueryParameter><QueryParameter Name="@EndDate"><Value>=Parameters!EndDate.Value</Value></QueryParameter><QueryParameter Name="@Computer"><Value>=Parameters!Computer.Value</Value></QueryParameter></QueryParameters><Timeout>300000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet></DataSets><LeftMargin>1in</LeftMargin><rd:SnapToGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:SnapToGrid><rd:DrawGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:DrawGrid><Description /><rd:ReportID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">212d782b-9718-4b8d-a1c1-2bd72afd7b82</rd:ReportID><PageFooter><ReportItems><Textbox Name="textboxPageNumber_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.25in</Top><Height>0.25in</Height><Value>="Page " &amp; Globals.PageNumber &amp; "/" &amp; Globals.TotalPages</Value><Left>4in</Left></Textbox><Textbox Name="textbox1DateTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><Top>0.25in</Top><Height>0.25in</Height><Width>4in</Width><Value>="All dates and  times shown in " &amp; Code.CurrentTimeZone()</Value></Textbox></ReportItems><PrintOnLastPage>true</PrintOnLastPage><PrintOnFirstPage>true</PrintOnFirstPage><Style /><Height>0.55in</Height></PageFooter><BottomMargin>1in</BottomMargin><ReportParameters><ReportParameter Name="BeginDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>BeginDate</ValueField></DataSetReference></DefaultValue><Prompt>Begin Date</Prompt></ReportParameter><ReportParameter Name="EndDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>EndDate</ValueField></DataSetReference></DefaultValue><Prompt>End Date</Prompt></ReportParameter><ReportParameter Name="Computer"><DataType>String</DataType><Prompt>Server</Prompt><ValidValues><DataSetReference><DataSetName>ComputerList</DataSetName><ValueField>Computer</ValueField><LabelField>Computer</LabelField></DataSetReference></ValidValues></ReportParameter><ReportParameter Name="SortBy"><DataType>String</DataType><DefaultValue><Values><Value>TotalMB</Value></Values></DefaultValue><Prompt>Sort By</Prompt><ValidValues><ParameterValues><ParameterValue><Value>InstanceName</Value><Label>Receiving address</Label></ParameterValue><ParameterValue><Value>Server</Value></ParameterValue><ParameterValue><Value>TotalMB</Value><Label>MB Received</Label></ParameterValue><ParameterValue><Value>TotalMsgCount</Value><Label>Messages Received</Label></ParameterValue></ParameterValues></ValidValues></ReportParameter><ReportParameter Name="Direction"><DataType>String</DataType><DefaultValue><Values><Value>Descending</Value></Values></DefaultValue><Prompt>Sort Order</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Ascending</Value></ParameterValue><ParameterValue><Value>Descending</Value></ParameterValue></ParameterValues></ValidValues></ReportParameter></ReportParameters></Report>]]></ReportDefinition>
  </ReportItem>
  <ReportItem>
    <Name>Mail Delivered - Top 100 Sender Domains by Count</Name>
    <Type>Report</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/Exchange 2000 and 2003 Traffic Analysis/Mail Delivered - Top 100 Sender Domains by Count</Path>
    <ReportDefinition><![CDATA[<?xml version='1.0' encoding='utf-8'?><Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportdefinition"><rd:GridSpacing xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">0.05in</rd:GridSpacing><RightMargin>1in</RightMargin><Body><ReportItems><Textbox Name="textboxRightLogo"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/2Inch_Logo.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>6</ZIndex><Height>0.5625in</Height><Value /><Left>4.5in</Left></Textbox><Textbox Name="textboxReportTitle_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/4.5Inch_Banner.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>5</ZIndex><Height>0.5625in</Height><Width>4.5in</Width><Value>Mail Delivered - Top 100 Sender Domains (by Count)</Value></Textbox><Textbox Name="textboxExecutionTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>4</ZIndex><Top>0.5625in</Top><Height>0.25in</Height><Value>=Globals.ExecutionTime</Value><Left>4.5in</Left></Textbox><Textbox Name="textboxParameterValue_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.375in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!Computer.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterValue_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.25in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!BeginDate.Value &amp; " - " &amp; Parameters!EndDate.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterName_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.375in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Server :</Value></Textbox><Textbox Name="textboxParameterName_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.25in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Date Range :</Value></Textbox><Textbox Name="textboxDescription_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>GhostWhite</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.8125in</Top><ToggleImage><InitialState>true</InitialState></ToggleImage><Height>0.375in</Height><Visibility><ToggleItem>textboxDescriptionHeading_tmp</ToggleItem><Hidden>true</Hidden></Visibility><CanGrow>true</CanGrow><Value>= "This report shows the amount of message traffic being delivered to given server, ordered by the number of such mails from each domain. This is generated with Message Tracking Log data from event 1023. Traffic analysis reports the frequency that a mail item passes through a server. Because an item of mail may loop through a SMTP Bridgehead server more than once, these reports are more accurate when targeted against mailbox servers."  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "The following rules need to be enabled for data to be collected:"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "	For Exchange 2000 Server:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server\Exchange 2000\Server Utilization Logging:Reports and views\Report Collection"  &amp; VbCrLf &amp;  "–       Report Collection - Message Tracking Log Data"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "	For Exchange Server 2003:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server\Exchange 2003\Report Collection Rules\Message Tracking Log Analysis\"  &amp; VbCrLf &amp;  "–       Report Collection - Message Tracking Log Data" </Value></Textbox><Textbox Name="textboxDescriptionHeading_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><Top>0.5625in</Top><Height>0.25in</Height><Width>4.5in</Width><CanGrow>true</CanGrow><Value>Description</Value></Textbox><Table Name="table1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle></Style><Top>1.75in</Top><ZIndex>1</ZIndex><NoRows>= "There is no data available for this report. This can occur when there is no relevant data available for collection, the reports’ dependent rules are not enabled or when none of the relevant data has been copied to the Reporting database." </NoRows><DataSetName>ExchangeSenderDomains</DataSetName><TableColumns><TableColumn><Width>2.375in</Width></TableColumn><TableColumn><Width>2.25in</Width></TableColumn><TableColumn><Width>0.875in</Width></TableColumn><TableColumn><Width>1in</Width></TableColumn></TableColumns><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox11"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox11</DefaultName><ZIndex>7</ZIndex><Value>Sending Domain</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox3"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox3</DefaultName><ZIndex>6</ZIndex><Value>Server</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="TotalMB"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">TotalMB</DefaultName><ZIndex>5</ZIndex><Value>MB Received</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox5"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox5</DefaultName><ZIndex>4</ZIndex><Value>Messages Received</Value></Textbox></ReportItems></TableCell></TableCells><Height>0.375in</Height></TableRow></TableRows><RepeatOnNewPage>true</RepeatOnNewPage></Header><Details><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="InstanceName"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">InstanceName</DefaultName><ZIndex>3</ZIndex><Value>=Fields!InstanceName.Value</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="Server"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">Server</DefaultName><ZIndex>2</ZIndex><Value>=Fields!Server.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="TotalMB_1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Format>F</Format><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">TotalMB_1</DefaultName><ZIndex>1</ZIndex><Value>=Fields!TotalMB.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="TotalMsgCount"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Format>F</Format><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">TotalMsgCount</DefaultName><Value>=Fields!TotalMsgCount.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting></Details></Table></ReportItems><Style><BorderWidth><Default>0.5pt</Default></BorderWidth></Style><Height>2.5in</Height><ColumnSpacing>0.25in</ColumnSpacing></Body><TopMargin>1in</TopMargin><DataSources><DataSource Name="SCDW"><rd:DataSourceID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">fb44cba7-75a7-4314-b2a5-1fce44701d23</rd:DataSourceID><DataSourceReference>SCDW</DataSourceReference></DataSource></DataSources><Code>public function CurrentTimeZone() as string 
	CurrentTimeZone = System.TimeZone.CurrentTimeZone.StandardName
end function

public function FormatNumber(fieldValue, formatString) as string 
	if (fieldValue is Nothing)
		FormatNumber = "Not Available"
	else
		FormatNumber = Format(fieldValue,formatString)
	end if
end function
</Code><Width>6.5in</Width><DataSets><DataSet Name="CurrentDate"><Fields><Field Name="BeginDate"><DataField>BeginDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="EndDate"><DataField>EndDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     BeginDate, EndDate
FROM         fn_GetDateRange(7) fn_GetDateRange</CommandText><Timeout>0</Timeout></Query></DataSet><DataSet Name="ComputerList"><Fields><Field Name="Computer"><DataField>Computer</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT DISTINCT SourceClassInstanceKeyValue AS Computer
FROM         [SC_Class_Rel_Computer-Exchange_View]
UNION
SELECT     '&lt;ALL&gt;'
ORDER BY Computer</CommandText><Timeout>3000000</Timeout></Query></DataSet><DataSet Name="CompGroup"><Fields><Field Name="CompGroup"><DataField>CompGroup</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     CompGroup
FROM         fn_ListComputerGroups()</CommandText><Timeout>3000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet><DataSet Name="ExchangeSenderDomains"><Fields><Field Name="InstanceName"><DataField>InstanceName</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="Server"><DataField>Server</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="TotalMsgCount"><DataField>TotalMsgCount</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="TotalMB"><DataField>TotalMB</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT 	Top 100 
	InstanceName, 
	Server, 
	ROUND(AVG(MsgCount), 0) AS TotalMsgCount, 
	AVG(TotalMB) AS TotalMB
from 
(SELECT  
	InstanceName 	=CDD.InstanceName_PK,
	[Time] 		= SND.LocalDateTimeSampled, 
	Server 		= CD.FullComputerName,
	TotalMB		= CASE WHEN( CDD.ObjectName_PK='McExchDG' and CDD.CounterName_PK='SMTP In Sender E2k MB') then SND.SampleValue END ,
	MsgCount	= CASE WHEN( CDD.ObjectName_PK='McExchDG' and CDD.CounterName_PK='SMTP In Sender E2k Message Count') then SND.SampleValue END 
FROM          
	dbo.SC_SampledNumericDataFact_View SND INNER JOIN
        dbo.SC_CounterDetailDimension_View CDD ON CDD.SMC_InstanceID = SND.CounterDetail_FK INNER JOIN
        dbo.SC_ComputerDimension_View CD ON CD.SMC_InstanceID = SND.Computer_FK 
WHERE   
	CDD.ObjectName_PK in ('McExchDG') AND CDD.CounterName_PK in ( 'SMTP In Sender E2k MB','SMTP In Sender E2k Message Count') and SND.LocalDateTimeSampled between @BeginDate and @EndDate and (@Computer='&lt;ALL&gt;' or CD.FullComputerName =@Computer)
) temp
group by InstanceName,Server
order by ROUND(AVG(MsgCount), 0)</CommandText><QueryParameters><QueryParameter Name="@BeginDate"><Value>=Parameters!BeginDate.Value</Value></QueryParameter><QueryParameter Name="@EndDate"><Value>=Parameters!EndDate.Value</Value></QueryParameter><QueryParameter Name="@Computer"><Value>=Parameters!Computer.Value</Value></QueryParameter></QueryParameters><Timeout>300000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet></DataSets><LeftMargin>1in</LeftMargin><rd:SnapToGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:SnapToGrid><rd:DrawGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:DrawGrid><Description /><rd:ReportID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">212d782b-9718-4b8d-a1c1-2bd72afd7b82</rd:ReportID><PageFooter><ReportItems><Textbox Name="textboxPageNumber_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.25in</Top><Height>0.25in</Height><Value>="Page " &amp; Globals.PageNumber &amp; "/" &amp; Globals.TotalPages</Value><Left>4in</Left></Textbox><Textbox Name="textbox1DateTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><Top>0.25in</Top><Height>0.25in</Height><Width>4in</Width><Value>="All dates and  times shown in " &amp; Code.CurrentTimeZone()</Value></Textbox></ReportItems><PrintOnLastPage>true</PrintOnLastPage><PrintOnFirstPage>true</PrintOnFirstPage><Style /><Height>0.55in</Height></PageFooter><BottomMargin>1in</BottomMargin><ReportParameters><ReportParameter Name="BeginDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>BeginDate</ValueField></DataSetReference></DefaultValue><Prompt>Begin Date</Prompt></ReportParameter><ReportParameter Name="EndDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>EndDate</ValueField></DataSetReference></DefaultValue><Prompt>End Date</Prompt></ReportParameter><ReportParameter Name="Computer"><DataType>String</DataType><Prompt>Server</Prompt><ValidValues><DataSetReference><DataSetName>ComputerList</DataSetName><ValueField>Computer</ValueField><LabelField>Computer</LabelField></DataSetReference></ValidValues></ReportParameter><ReportParameter Name="SortBy"><DataType>String</DataType><DefaultValue><Values><Value>TotalMsgCount</Value></Values></DefaultValue><Prompt>Sort By</Prompt><ValidValues><ParameterValues><ParameterValue><Value>InstanceName</Value><Label>Sending Domain</Label></ParameterValue><ParameterValue><Value>Server</Value></ParameterValue><ParameterValue><Value>TotalMB</Value><Label>MB Received</Label></ParameterValue><ParameterValue><Value>TotalMsgCount</Value><Label>Messages Received</Label></ParameterValue></ParameterValues></ValidValues></ReportParameter><ReportParameter Name="Direction"><DataType>String</DataType><DefaultValue><Values><Value>Descending</Value></Values></DefaultValue><Prompt>Sort Order</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Ascending</Value></ParameterValue><ParameterValue><Value>Descending</Value></ParameterValue></ParameterValues></ValidValues></ReportParameter></ReportParameters></Report>]]></ReportDefinition>
  </ReportItem>
  <ReportItem>
    <Name>Mail Delivered - Top 100 Sender Domains by Size</Name>
    <Type>Report</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/Exchange 2000 and 2003 Traffic Analysis/Mail Delivered - Top 100 Sender Domains by Size</Path>
    <ReportDefinition><![CDATA[<?xml version='1.0' encoding='utf-8'?><Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportdefinition"><rd:GridSpacing xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">0.05in</rd:GridSpacing><RightMargin>1in</RightMargin><Body><ReportItems><Textbox Name="textboxRightLogo"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/2Inch_Logo.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>6</ZIndex><Height>0.5625in</Height><Value /><Left>4.5in</Left></Textbox><Textbox Name="textboxReportTitle_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/4.5Inch_Banner.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>5</ZIndex><Height>0.5625in</Height><Width>4.5in</Width><Value>Mail Delivered - Top 100 Sender Domains (by Size)</Value></Textbox><Textbox Name="textboxExecutionTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>4</ZIndex><Top>0.5625in</Top><Height>0.25in</Height><Value>=Globals.ExecutionTime</Value><Left>4.5in</Left></Textbox><Textbox Name="textboxParameterValue_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.375in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!Computer.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterValue_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.25in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!BeginDate.Value &amp; " - " &amp; Parameters!EndDate.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterName_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.375in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Server :</Value></Textbox><Textbox Name="textboxParameterName_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.25in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Date Range :</Value></Textbox><Textbox Name="textboxDescription_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>GhostWhite</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.8125in</Top><ToggleImage><InitialState>true</InitialState></ToggleImage><Height>0.375in</Height><Visibility><ToggleItem>textboxDescriptionHeading_tmp</ToggleItem><Hidden>true</Hidden></Visibility><CanGrow>true</CanGrow><Value>= "This report shows the amount of message traffic being delivered to a given server, ordered by the total size of such mails from delivered each domain. This is generated with Message Tracking Log data from event 1023. Traffic analysis reports the frequency that a mail item passes through a server. Because an item of mail may loop through a SMTP Bridgehead server more than once, these reports are more accurate when targeted against mailbox servers."  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "The following rules need to be enabled for data to be collected:"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "	For Exchange 2000 Server:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server 2000\Report Collection Rules\Message Tracking Log Analysis\"  &amp; VbCrLf &amp;  "–       Report Collection - Message Tracking Log Data"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "	For Exchange Server 2003:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server 2003\Report Collection Rules\Message Tracking Log Analysis\"  &amp; VbCrLf &amp;  "–       Report Collection - Message Tracking Log Data" </Value></Textbox><Textbox Name="textboxDescriptionHeading_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><Top>0.5625in</Top><Height>0.25in</Height><Width>4.5in</Width><CanGrow>true</CanGrow><Value>Description</Value></Textbox><Table Name="table1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle></Style><Top>1.75in</Top><ZIndex>1</ZIndex><NoRows>= "There is no data available for this report. This can occur when there is no relevant data available for collection, the reports’ dependent rules are not enabled or when none of the relevant data has been copied to the Reporting database." </NoRows><DataSetName>ExchangeSenderDomain</DataSetName><TableColumns><TableColumn><Width>2.375in</Width></TableColumn><TableColumn><Width>2.375in</Width></TableColumn><TableColumn><Width>0.875in</Width></TableColumn><TableColumn><Width>0.875in</Width></TableColumn></TableColumns><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox11"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox11</DefaultName><ZIndex>7</ZIndex><Value>Sending Domain </Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox3"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox3</DefaultName><ZIndex>6</ZIndex><Value>Server</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox4"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox4</DefaultName><ZIndex>5</ZIndex><Value>MB Received</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox5"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox5</DefaultName><ZIndex>4</ZIndex><Value>Messages Received</Value></Textbox></ReportItems></TableCell></TableCells><Height>0.375in</Height></TableRow></TableRows><RepeatOnNewPage>true</RepeatOnNewPage></Header><Details><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="InstanceName"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">InstanceName</DefaultName><ZIndex>3</ZIndex><Value>=Fields!InstanceName.Value</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="Server"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">Server</DefaultName><ZIndex>2</ZIndex><Value>=Fields!Server.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="TotalMB"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Format>F</Format><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">TotalMB</DefaultName><ZIndex>1</ZIndex><Value>=Fields!TotalMB.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="TotalMsgCount"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Format>F</Format><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">TotalMsgCount</DefaultName><Value>=Fields!TotalMsgCount.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting></Details></Table></ReportItems><Style><BorderWidth><Default>0.5pt</Default></BorderWidth></Style><Height>2.5in</Height><ColumnSpacing>0.25in</ColumnSpacing></Body><TopMargin>1in</TopMargin><DataSources><DataSource Name="SCDW"><rd:DataSourceID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">fb44cba7-75a7-4314-b2a5-1fce44701d23</rd:DataSourceID><DataSourceReference>SCDW</DataSourceReference></DataSource></DataSources><Code>public function CurrentTimeZone() as string 
	CurrentTimeZone = System.TimeZone.CurrentTimeZone.StandardName
end function

public function FormatNumber(fieldValue, formatString) as string 
	if (fieldValue is Nothing)
		FormatNumber = "Not Available"
	else
		FormatNumber = Format(fieldValue,formatString)
	end if
end function
</Code><Width>6.5in</Width><DataSets><DataSet Name="CurrentDate"><Fields><Field Name="BeginDate"><DataField>BeginDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="EndDate"><DataField>EndDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     BeginDate, EndDate
FROM         fn_GetDateRange(7) fn_GetDateRange</CommandText><Timeout>0</Timeout></Query></DataSet><DataSet Name="ComputerList"><Fields><Field Name="Computer"><DataField>Computer</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT DISTINCT SourceClassInstanceKeyValue AS Computer
FROM         [SC_Class_Rel_Computer-Exchange_View]
UNION
SELECT     '&lt;ALL&gt;'
ORDER BY Computer</CommandText><Timeout>3000000</Timeout></Query></DataSet><DataSet Name="CompGroup"><Fields><Field Name="CompGroup"><DataField>CompGroup</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     CompGroup
FROM         fn_ListComputerGroups()</CommandText><Timeout>3000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet><DataSet Name="ExchangeSenderDomain"><Fields><Field Name="InstanceName"><DataField>InstanceName</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="Server"><DataField>Server</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="TotalMsgCount"><DataField>TotalMsgCount</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="TotalMB"><DataField>TotalMB</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT 	Top 100 
	InstanceName, 
	Server, 
	ROUND(AVG(MsgCount), 0) AS TotalMsgCount, 
	AVG(TotalMB) AS TotalMB
from 
(SELECT  
	InstanceName 	=CDD.InstanceName_PK,
	[Time] 		= SND.LocalDateTimeSampled, 
	Server 		= CD.FullComputerName,
	TotalMB		= CASE WHEN( CDD.ObjectName_PK='McExchDG' and CDD.CounterName_PK='SMTP In Sender E2k MB') then SND.SampleValue END ,
	MsgCount	= CASE WHEN( CDD.ObjectName_PK='McExchDG' and CDD.CounterName_PK='SMTP In Sender E2k Message Count') then SND.SampleValue END 
FROM          
	dbo.SC_SampledNumericDataFact_View SND INNER JOIN
        dbo.SC_CounterDetailDimension_View CDD ON CDD.SMC_InstanceID = SND.CounterDetail_FK INNER JOIN
        dbo.SC_ComputerDimension_View CD ON CD.SMC_InstanceID = SND.Computer_FK 
WHERE   
	CDD.ObjectName_PK in ('McExchDG') AND CDD.CounterName_PK in ( 'SMTP In Sender E2k MB','SMTP In Sender E2k Message Count') and SND.LocalDateTimeSampled between @BeginDate and @EndDate and (@Computer='&lt;ALL&gt;' or CD.FullComputerName =@Computer)
) temp
group by InstanceName,Server
order by AVG(TotalMB)</CommandText><QueryParameters><QueryParameter Name="@BeginDate"><Value>=Parameters!BeginDate.Value</Value></QueryParameter><QueryParameter Name="@EndDate"><Value>=Parameters!EndDate.Value</Value></QueryParameter><QueryParameter Name="@Computer"><Value>=Parameters!Computer.Value</Value></QueryParameter></QueryParameters><Timeout>300000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet></DataSets><LeftMargin>1in</LeftMargin><rd:SnapToGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:SnapToGrid><rd:DrawGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:DrawGrid><Description /><rd:ReportID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">212d782b-9718-4b8d-a1c1-2bd72afd7b82</rd:ReportID><PageFooter><ReportItems><Textbox Name="textboxPageNumber_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.25in</Top><Height>0.25in</Height><Value>="Page " &amp; Globals.PageNumber &amp; "/" &amp; Globals.TotalPages</Value><Left>4in</Left></Textbox><Textbox Name="textbox1DateTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><Top>0.25in</Top><Height>0.25in</Height><Width>4in</Width><Value>="All dates and  times shown in " &amp; Code.CurrentTimeZone()</Value></Textbox></ReportItems><PrintOnLastPage>true</PrintOnLastPage><PrintOnFirstPage>true</PrintOnFirstPage><Style /><Height>0.55in</Height></PageFooter><BottomMargin>1in</BottomMargin><ReportParameters><ReportParameter Name="BeginDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>BeginDate</ValueField></DataSetReference></DefaultValue><Prompt>Begin Date</Prompt></ReportParameter><ReportParameter Name="EndDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>EndDate</ValueField></DataSetReference></DefaultValue><Prompt>End Date</Prompt></ReportParameter><ReportParameter Name="Computer"><DataType>String</DataType><Prompt>Server</Prompt><ValidValues><DataSetReference><DataSetName>ComputerList</DataSetName><ValueField>Computer</ValueField><LabelField>Computer</LabelField></DataSetReference></ValidValues></ReportParameter><ReportParameter Name="SortBy"><DataType>String</DataType><DefaultValue><Values><Value>TotalMB</Value></Values></DefaultValue><Prompt>Sort By</Prompt><ValidValues><ParameterValues><ParameterValue><Value>InstanceName</Value><Label>Sending Domain</Label></ParameterValue><ParameterValue><Value>Server</Value></ParameterValue><ParameterValue><Value>TotalMB</Value><Label>MB Received </Label></ParameterValue><ParameterValue><Value>TotalMsgCount</Value><Label>Messages Received</Label></ParameterValue></ParameterValues></ValidValues></ReportParameter><ReportParameter Name="Direction"><DataType>String</DataType><DefaultValue><Values><Value>Descending</Value></Values></DefaultValue><Prompt>Sort Order</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Ascending</Value></ParameterValue><ParameterValue><Value>Descending</Value></ParameterValue></ParameterValues></ValidValues></ReportParameter></ReportParameters></Report>]]></ReportDefinition>
  </ReportItem>
  <ReportItem>
    <Name>SMTP Outbound Mail - Top 100 Recipient Domains by Count</Name>
    <Type>Report</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/Exchange 2000 and 2003 Traffic Analysis/SMTP Outbound Mail - Top 100 Recipient Domains by Count</Path>
    <ReportDefinition><![CDATA[<?xml version='1.0' encoding='utf-8'?><Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportdefinition"><rd:GridSpacing xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">0.05in</rd:GridSpacing><RightMargin>1in</RightMargin><Body><ReportItems><Textbox Name="textboxRightLogo"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/2Inch_Logo.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>6</ZIndex><Height>0.5625in</Height><Value /><Left>4.5in</Left></Textbox><Textbox Name="textboxReportTitle_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/4.5Inch_Banner.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>5</ZIndex><Height>0.5625in</Height><Width>4.5in</Width><Value>SMTP Outbound Mail - Top 100 Recipient Domains (by Count)</Value></Textbox><Textbox Name="textboxExecutionTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>4</ZIndex><Top>0.5625in</Top><Height>0.25in</Height><Value>=Globals.ExecutionTime</Value><Left>4.5in</Left></Textbox><Textbox Name="textboxParameterValue_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.375in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!Computer.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterValue_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.25in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!BeginDate.Value &amp; " - " &amp; Parameters!EndDate.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterName_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.375in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Server :</Value></Textbox><Textbox Name="textboxParameterName_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.25in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Date Range :</Value></Textbox><Textbox Name="textboxDescription_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>GhostWhite</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.8125in</Top><ToggleImage><InitialState>true</InitialState></ToggleImage><Height>0.375in</Height><Visibility><ToggleItem>textboxDescriptionHeading_tmp</ToggleItem><Hidden>true</Hidden></Visibility><CanGrow>true</CanGrow><Value>= "This report shows the amount of message traffic flowing out from a given server via SMTP, ordered by the number of such mails sent to each domain. This report may include mail originating on other servers if the given server is used to relay mail. This is generated with Message Tracking Log data from event 1031. Traffic analysis reports the frequency that a mail item passes through a server. Because an item of mail may loop through a SMTP Bridgehead server more than once, these reports are more accurate when targeted against mailbox servers."  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "The following rules need to be enabled for data to be collected:"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "	For Exchange 2000 Server:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server\Exchange 2000\Server Utilization Logging:Reports and views\Report Collection"  &amp; VbCrLf &amp;  "–       Report Collection - Message Tracking Log Data"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "	For Exchange Server 2003:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server\Exchange 2003\Report Collection Rules\Message Tracking Log Analysis\"  &amp; VbCrLf &amp;  "–       Report Collection - Message Tracking Log Data" </Value></Textbox><Textbox Name="textboxDescriptionHeading_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><Top>0.5625in</Top><Height>0.25in</Height><Width>4.5in</Width><CanGrow>true</CanGrow><Value>Description</Value></Textbox><Table Name="table1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle></Style><Top>1.75in</Top><Height>0.625in</Height><ZIndex>1</ZIndex><NoRows>= "There is no data available for this report. This can occur when there is no relevant data available for collection, the reports’ dependent rules are not enabled or when none of the relevant data has been copied to the Reporting database." </NoRows><DataSetName>ExchangeReceipientDomain</DataSetName><TableColumns><TableColumn><Width>2.58219in</Width></TableColumn><TableColumn><Width>2.13699in</Width></TableColumn><TableColumn><Width>0.89041in</Width></TableColumn><TableColumn><Width>0.89041in</Width></TableColumn></TableColumns><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox11"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox11</DefaultName><ZIndex>7</ZIndex><Value>Receiving Domain </Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox3"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox3</DefaultName><ZIndex>6</ZIndex><Value>Server</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox4"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox4</DefaultName><ZIndex>5</ZIndex><Value>MB Received</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox5"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox5</DefaultName><ZIndex>4</ZIndex><Value>Messages Received</Value></Textbox></ReportItems></TableCell></TableCells><Height>0.375in</Height></TableRow></TableRows><RepeatOnNewPage>true</RepeatOnNewPage></Header><Details><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="InstanceName"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">InstanceName</DefaultName><ZIndex>3</ZIndex><Value>=Fields!InstanceName.Value</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="Server"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">Server</DefaultName><ZIndex>2</ZIndex><Value>=Fields!Server.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="TotalMB"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Format>F</Format><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">TotalMB</DefaultName><ZIndex>1</ZIndex><Value>=Fields!TotalMB.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="TotalMsgCount"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Format>F</Format><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">TotalMsgCount</DefaultName><Value>=Fields!TotalMsgCount.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting></Details></Table></ReportItems><Style><BorderWidth><Default>0.5pt</Default></BorderWidth></Style><Height>11in</Height><ColumnSpacing>0.25in</ColumnSpacing></Body><TopMargin>1in</TopMargin><DataSources><DataSource Name="SCDW"><rd:DataSourceID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">fb44cba7-75a7-4314-b2a5-1fce44701d23</rd:DataSourceID><DataSourceReference>SCDW</DataSourceReference></DataSource></DataSources><Code>public function CurrentTimeZone() as string 
	CurrentTimeZone = System.TimeZone.CurrentTimeZone.StandardName
end function

public function FormatNumber(fieldValue, formatString) as string 
	if (fieldValue is Nothing)
		FormatNumber = "Not Available"
	else
		FormatNumber = Format(fieldValue,formatString)
	end if
end function
</Code><Width>6.5in</Width><DataSets><DataSet Name="CurrentDate"><Fields><Field Name="BeginDate"><DataField>BeginDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="EndDate"><DataField>EndDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     BeginDate, EndDate
FROM         fn_GetDateRange(7) fn_GetDateRange</CommandText><Timeout>0</Timeout></Query></DataSet><DataSet Name="ComputerList"><Fields><Field Name="Computer"><DataField>Computer</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT DISTINCT SourceClassInstanceKeyValue AS Computer
FROM         [SC_Class_Rel_Computer-Exchange_View]
UNION
SELECT     '&lt;ALL&gt;'
ORDER BY Computer</CommandText><Timeout>3000000</Timeout></Query></DataSet><DataSet Name="CompGroup"><Fields><Field Name="CompGroup"><DataField>CompGroup</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     CompGroup
FROM         fn_ListComputerGroups()</CommandText><Timeout>3000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet><DataSet Name="ExchangeReceipientDomain"><Fields><Field Name="InstanceName"><DataField>InstanceName</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="Server"><DataField>Server</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="TotalMsgCount"><DataField>TotalMsgCount</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="TotalMB"><DataField>TotalMB</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT 	Top 100 
	InstanceName, 
	Server, 
	ROUND(AVG(MsgCount), 0) AS TotalMsgCount, 
	AVG(TotalMB) AS TotalMB
from 
(SELECT  
	InstanceName 	=CDD.InstanceName_PK,
	[Time] 		= SND.LocalDateTimeSampled, 
	Server 		= CD.FullComputerName,
	TotalMB		= CASE WHEN( CDD.ObjectName_PK='McExchDG' and CDD.CounterName_PK='SMTP Out Recipient E2k MB') then SND.SampleValue END ,
	MsgCount	= CASE WHEN( CDD.ObjectName_PK='McExchDG' and CDD.CounterName_PK='SMTP Out Recipient E2k Message Count') then SND.SampleValue END 
FROM          
	dbo.SC_SampledNumericDataFact_View SND INNER JOIN
        dbo.SC_CounterDetailDimension_View CDD ON CDD.SMC_InstanceID = SND.CounterDetail_FK INNER JOIN
        dbo.SC_ComputerDimension_View CD ON CD.SMC_InstanceID = SND.Computer_FK 
WHERE   
	CDD.ObjectName_PK in ('McExchDG') AND CDD.CounterName_PK in ( 'SMTP Out Recipient E2k MB','SMTP Out Recipient E2k Message Count')
and SND.LocalDateTimeSampled between @BeginDate and @EndDate and (@Computer='&lt;ALL&gt;' or CD.FullComputerName =@Computer)
) temp
group by InstanceName,Server
order by ROUND(AVG(MsgCount), 0)</CommandText><QueryParameters><QueryParameter Name="@BeginDate"><Value>=Parameters!BeginDate.Value</Value></QueryParameter><QueryParameter Name="@EndDate"><Value>=Parameters!EndDate.Value</Value></QueryParameter><QueryParameter Name="@Computer"><Value>=Parameters!Computer.Value</Value></QueryParameter></QueryParameters><Timeout>300000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet></DataSets><LeftMargin>1in</LeftMargin><rd:SnapToGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:SnapToGrid><rd:DrawGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:DrawGrid><Description /><rd:ReportID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">212d782b-9718-4b8d-a1c1-2bd72afd7b82</rd:ReportID><PageFooter><ReportItems><Textbox Name="textboxPageNumber_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.25in</Top><Height>0.25in</Height><Value>="Page " &amp; Globals.PageNumber &amp; "/" &amp; Globals.TotalPages</Value><Left>4in</Left></Textbox><Textbox Name="textbox1DateTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><Top>0.25in</Top><Height>0.25in</Height><Width>4in</Width><Value>="All dates and  times shown in " &amp; Code.CurrentTimeZone()</Value></Textbox></ReportItems><PrintOnLastPage>true</PrintOnLastPage><PrintOnFirstPage>true</PrintOnFirstPage><Style /><Height>0.55in</Height></PageFooter><BottomMargin>1in</BottomMargin><ReportParameters><ReportParameter Name="BeginDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>BeginDate</ValueField></DataSetReference></DefaultValue><Prompt>Begin Date</Prompt></ReportParameter><ReportParameter Name="EndDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>EndDate</ValueField></DataSetReference></DefaultValue><Prompt>End Date</Prompt></ReportParameter><ReportParameter Name="Computer"><DataType>String</DataType><Prompt>Server</Prompt><ValidValues><DataSetReference><DataSetName>ComputerList</DataSetName><ValueField>Computer</ValueField><LabelField>Computer</LabelField></DataSetReference></ValidValues></ReportParameter><ReportParameter Name="SortBy"><DataType>String</DataType><DefaultValue><Values><Value>TotalMsgCount</Value></Values></DefaultValue><Prompt>Sort By</Prompt><ValidValues><ParameterValues><ParameterValue><Value>InstanceName</Value><Label>Receiving Domain</Label></ParameterValue><ParameterValue><Value>Server</Value></ParameterValue><ParameterValue><Value>TotalMB</Value><Label>MB Received</Label></ParameterValue><ParameterValue><Value>TotalMsgCount</Value><Label>Messages Received</Label></ParameterValue></ParameterValues></ValidValues></ReportParameter><ReportParameter Name="Direction"><DataType>String</DataType><DefaultValue><Values><Value>Descending</Value></Values></DefaultValue><Prompt>Sort Order</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Ascending</Value></ParameterValue><ParameterValue><Value>Descending</Value></ParameterValue></ParameterValues></ValidValues></ReportParameter></ReportParameters></Report>]]></ReportDefinition>
  </ReportItem>
  <ReportItem>
    <Name>SMTP Outbound Mail - Top 100 Recipient Domains by Size</Name>
    <Type>Report</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/Exchange 2000 and 2003 Traffic Analysis/SMTP Outbound Mail - Top 100 Recipient Domains by Size</Path>
    <ReportDefinition><![CDATA[<?xml version='1.0' encoding='utf-8'?><Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportdefinition"><rd:GridSpacing xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">0.05in</rd:GridSpacing><RightMargin>1in</RightMargin><Body><ReportItems><Textbox Name="textboxRightLogo"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/2Inch_Logo.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>6</ZIndex><Height>0.5625in</Height><Value /><Left>4.5in</Left></Textbox><Textbox Name="textboxReportTitle_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/4.5Inch_Banner.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>5</ZIndex><Height>0.5625in</Height><Width>4.5in</Width><Value>SMTP Outbound Mail - Top 100 Recipient Domains (by Size)</Value></Textbox><Textbox Name="textboxExecutionTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>4</ZIndex><Top>0.5625in</Top><Height>0.25in</Height><Value>=Globals.ExecutionTime</Value><Left>4.5in</Left></Textbox><Textbox Name="textboxParameterValue_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.375in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!Computer.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterValue_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.25in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!BeginDate.Value &amp; " - " &amp; Parameters!EndDate.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterName_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.375in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Server :</Value></Textbox><Textbox Name="textboxParameterName_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.25in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Date Range :</Value></Textbox><Textbox Name="textboxDescription_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>GhostWhite</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.8125in</Top><ToggleImage><InitialState>true</InitialState></ToggleImage><Height>0.375in</Height><Visibility><ToggleItem>textboxDescriptionHeading_tmp</ToggleItem><Hidden>true</Hidden></Visibility><CanGrow>true</CanGrow><Value>= "This report shows the amount of message traffic flowing out from a given server via SMTP, ordered by the total size of such mails sent to each domain. This report may include mail originating on other servers if the given server is used to relay mail. This is generated with Message Tracking Log data from event 1031. Traffic analysis reports the frequency that a mail item passes through a server. Because an item of mail may loop through a SMTP Bridgehead server more than once, these reports are more accurate when targeted against mailbox servers."  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "The following rules need to be enabled for data to be collected:"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "	For Exchange 2000 Server:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server\Exchange 2000\Server Utilization Logging:Reports and views\Report Collection"  &amp; VbCrLf &amp;  "–       Report Collection - Message Tracking Log Data"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "	For Exchange Server 2003:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server\Exchange 2003\Report Collection Rules\Message Tracking Log Analysis\"  &amp; VbCrLf &amp;  "–       Report Collection - Message Tracking Log Data" </Value></Textbox><Textbox Name="textboxDescriptionHeading_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><Top>0.5625in</Top><Height>0.25in</Height><Width>4.5in</Width><CanGrow>true</CanGrow><Value>Description</Value></Textbox><Table Name="table1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle></Style><Top>1.75in</Top><Height>0.625in</Height><ZIndex>1</ZIndex><NoRows>= "There is no data available for this report. This can occur when there is no relevant data available for collection, the reports’ dependent rules are not enabled or when none of the relevant data has been copied to the Reporting database." </NoRows><DataSetName>ExchangeReceipientDomain</DataSetName><TableColumns><TableColumn><Width>2.375in</Width></TableColumn><TableColumn><Width>2.375in</Width></TableColumn><TableColumn><Width>0.875in</Width></TableColumn><TableColumn><Width>0.875in</Width></TableColumn></TableColumns><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox11"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox11</DefaultName><ZIndex>7</ZIndex><Value>Receiving Domain </Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox3"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox3</DefaultName><ZIndex>6</ZIndex><Value>Server</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox4"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox4</DefaultName><ZIndex>5</ZIndex><Value>MB Received</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox5"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox5</DefaultName><ZIndex>4</ZIndex><Value>Messages Received</Value></Textbox></ReportItems></TableCell></TableCells><Height>0.375in</Height></TableRow></TableRows><RepeatOnNewPage>true</RepeatOnNewPage></Header><Details><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="InstanceName"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">InstanceName</DefaultName><ZIndex>3</ZIndex><Value>=Fields!InstanceName.Value</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="Server"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">Server</DefaultName><ZIndex>2</ZIndex><Value>=Fields!Server.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="TotalMB"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Format>F</Format><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">TotalMB</DefaultName><ZIndex>1</ZIndex><Value>=Fields!TotalMB.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="TotalMsgCount"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Format>F</Format><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">TotalMsgCount</DefaultName><Value>=Fields!TotalMsgCount.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting></Details></Table></ReportItems><Style><BorderWidth><Default>0.5pt</Default></BorderWidth></Style><Height>11in</Height><ColumnSpacing>0.25in</ColumnSpacing></Body><TopMargin>1in</TopMargin><DataSources><DataSource Name="SCDW"><rd:DataSourceID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">fb44cba7-75a7-4314-b2a5-1fce44701d23</rd:DataSourceID><DataSourceReference>SCDW</DataSourceReference></DataSource></DataSources><Code>public function CurrentTimeZone() as string 
	CurrentTimeZone = System.TimeZone.CurrentTimeZone.StandardName
end function

public function FormatNumber(fieldValue, formatString) as string 
	if (fieldValue is Nothing)
		FormatNumber = "Not Available"
	else
		FormatNumber = Format(fieldValue,formatString)
	end if
end function
</Code><Width>6.5in</Width><DataSets><DataSet Name="CurrentDate"><Fields><Field Name="BeginDate"><DataField>BeginDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="EndDate"><DataField>EndDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     BeginDate, EndDate
FROM         fn_GetDateRange(7) fn_GetDateRange</CommandText><Timeout>0</Timeout></Query></DataSet><DataSet Name="ComputerList"><Fields><Field Name="Computer"><DataField>Computer</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT DISTINCT SourceClassInstanceKeyValue AS Computer
FROM         [SC_Class_Rel_Computer-Exchange_View]
UNION
SELECT     '&lt;ALL&gt;'
ORDER BY Computer</CommandText><Timeout>3000000</Timeout></Query></DataSet><DataSet Name="CompGroup"><Fields><Field Name="CompGroup"><DataField>CompGroup</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     CompGroup
FROM         fn_ListComputerGroups()</CommandText><Timeout>3000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet><DataSet Name="ExchangeReceipientDomain"><Fields><Field Name="InstanceName"><DataField>InstanceName</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="Server"><DataField>Server</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="TotalMsgCount"><DataField>TotalMsgCount</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="TotalMB"><DataField>TotalMB</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT 	Top 100 
	InstanceName, 
	Server, 
	ROUND(AVG(MsgCount), 0) AS TotalMsgCount, 
	AVG(TotalMB) AS TotalMB
from 
(SELECT  
	InstanceName 	=CDD.InstanceName_PK,
	[Time] 		= SND.LocalDateTimeSampled, 
	Server 		= CD.FullComputerName,
	TotalMB		= CASE WHEN( CDD.ObjectName_PK='McExchDG' and CDD.CounterName_PK='SMTP Out Recipient E2k MB') then SND.SampleValue END ,
	MsgCount	= CASE WHEN( CDD.ObjectName_PK='McExchDG' and CDD.CounterName_PK='SMTP Out Recipient E2k Message Count') then SND.SampleValue END 
FROM          
	dbo.SC_SampledNumericDataFact_View SND INNER JOIN
        dbo.SC_CounterDetailDimension_View CDD ON CDD.SMC_InstanceID = SND.CounterDetail_FK INNER JOIN
        dbo.SC_ComputerDimension_View CD ON CD.SMC_InstanceID = SND.Computer_FK 
WHERE   
	CDD.ObjectName_PK in ('McExchDG') AND CDD.CounterName_PK in ( 'SMTP Out Recipient E2k MB','SMTP Out Recipient E2k Message Count')
and SND.LocalDateTimeSampled between @BeginDate and @EndDate and (@Computer='&lt;ALL&gt;' or CD.FullComputerName =@Computer)
) temp
group by InstanceName,Server
order by AVG(TotalMB)</CommandText><QueryParameters><QueryParameter Name="@BeginDate"><Value>=Parameters!BeginDate.Value</Value></QueryParameter><QueryParameter Name="@EndDate"><Value>=Parameters!EndDate.Value</Value></QueryParameter><QueryParameter Name="@Computer"><Value>=Parameters!Computer.Value</Value></QueryParameter></QueryParameters><Timeout>300000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet></DataSets><LeftMargin>1in</LeftMargin><rd:SnapToGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:SnapToGrid><rd:DrawGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:DrawGrid><Description /><rd:ReportID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">212d782b-9718-4b8d-a1c1-2bd72afd7b82</rd:ReportID><PageFooter><ReportItems><Textbox Name="textboxPageNumber_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.25in</Top><Height>0.25in</Height><Value>="Page " &amp; Globals.PageNumber &amp; "/" &amp; Globals.TotalPages</Value><Left>4in</Left></Textbox><Textbox Name="textbox1DateTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><Top>0.25in</Top><Height>0.25in</Height><Width>4in</Width><Value>="All dates and  times shown in " &amp; Code.CurrentTimeZone()</Value></Textbox></ReportItems><PrintOnLastPage>true</PrintOnLastPage><PrintOnFirstPage>true</PrintOnFirstPage><Style /><Height>0.55in</Height></PageFooter><BottomMargin>1in</BottomMargin><ReportParameters><ReportParameter Name="BeginDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>BeginDate</ValueField></DataSetReference></DefaultValue><Prompt>Begin Date</Prompt></ReportParameter><ReportParameter Name="EndDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>EndDate</ValueField></DataSetReference></DefaultValue><Prompt>End Date</Prompt></ReportParameter><ReportParameter Name="Computer"><DataType>String</DataType><Prompt>Server</Prompt><ValidValues><DataSetReference><DataSetName>ComputerList</DataSetName><ValueField>Computer</ValueField><LabelField>Computer</LabelField></DataSetReference></ValidValues></ReportParameter><ReportParameter Name="SortBy"><DataType>String</DataType><DefaultValue><Values><Value>TotalMB</Value></Values></DefaultValue><Prompt>Sort By</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Server</Value></ParameterValue><ParameterValue><Value>InstanceName</Value><Label>Receiving Domain</Label></ParameterValue><ParameterValue><Value>TotalMB</Value><Label>MB Received</Label></ParameterValue><ParameterValue><Value>TotalMsgCount</Value><Label>Messages Received</Label></ParameterValue></ParameterValues></ValidValues></ReportParameter><ReportParameter Name="Direction"><DataType>String</DataType><DefaultValue><Values><Value>Descending</Value></Values></DefaultValue><Prompt>Sort Order</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Ascending</Value></ParameterValue><ParameterValue><Value>Descending</Value></ParameterValue></ParameterValues></ValidValues></ReportParameter></ReportParameters></Report>]]></ReportDefinition>
  </ReportItem>
  <ReportItem>
    <Name>SMTP Outbound Mail - Top 100 Senders by Count</Name>
    <Type>Report</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/Exchange 2000 and 2003 Traffic Analysis/SMTP Outbound Mail - Top 100 Senders by Count</Path>
    <ReportDefinition><![CDATA[<?xml version='1.0' encoding='utf-8'?><Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportdefinition"><rd:GridSpacing xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">0.05in</rd:GridSpacing><RightMargin>1in</RightMargin><Body><ReportItems><Textbox Name="textboxRightLogo"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/2Inch_Logo.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>6</ZIndex><Height>0.5625in</Height><Value /><Left>4.5in</Left></Textbox><Textbox Name="textboxReportTitle_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/4.5Inch_Banner.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>5</ZIndex><Height>0.5625in</Height><Width>4.5in</Width><Value>SMTP Outbound Mail - Top 100 Senders (by Count)</Value></Textbox><Textbox Name="textboxExecutionTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>4</ZIndex><Top>0.5625in</Top><Height>0.25in</Height><Value>=Globals.ExecutionTime</Value><Left>4.5in</Left></Textbox><Textbox Name="textboxParameterValue_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.375in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!Computer.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterValue_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.25in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!BeginDate.Value &amp; " - " &amp; Parameters!EndDate.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterName_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.375in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Server :</Value></Textbox><Textbox Name="textboxParameterName_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.25in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Date Range :</Value></Textbox><Textbox Name="textboxDescription_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>GhostWhite</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.8125in</Top><ToggleImage><InitialState>true</InitialState></ToggleImage><Height>0.375in</Height><Visibility><ToggleItem>textboxDescriptionHeading_tmp</ToggleItem><Hidden>true</Hidden></Visibility><CanGrow>true</CanGrow><Value>= "This report shows the amount of message traffic flowing out from a given server via SMTP, ordered by the number of such mails sent by each sender. This report may include mail originating on other servers if the given server is used to relay mail. This is generated with Message Tracking Log data from event 1031. Traffic analysis reports the frequency that a mail item passes through a server. Because an item of mail may loop through a SMTP Bridgehead server more than once, these reports are more accurate when targeted against mailbox servers."  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "The following rules need to be enabled for data to be collected:"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "	For Exchange 2000 Server:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server\Exchange 2000\Server Utilization Logging:Reports and views\Report Collection"  &amp; VbCrLf &amp;  "–       Report Collection - Message Tracking Log Data"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "	For Exchange Server 2003:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server\Exchange 2003\Report Collection Rules\Message Tracking Log Analysis\"  &amp; VbCrLf &amp;  "–       Report Collection - Message Tracking Log Data" </Value></Textbox><Textbox Name="textboxDescriptionHeading_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><Top>0.5625in</Top><Height>0.25in</Height><Width>4.5in</Width><CanGrow>true</CanGrow><Value>Description</Value></Textbox><Table Name="table1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle></Style><Top>1.75in</Top><Height>0.625in</Height><ZIndex>1</ZIndex><NoRows>= "There is no data available for this report. This can occur when there is no relevant data available for collection, the reports’ dependent rules are not enabled or when none of the relevant data has been copied to the Reporting database." </NoRows><DataSetName>ExchangeOutboundSenders</DataSetName><TableColumns><TableColumn><Width>2.25in</Width></TableColumn><TableColumn><Width>2.5in</Width></TableColumn><TableColumn><Width>0.875in</Width></TableColumn><TableColumn><Width>0.875in</Width></TableColumn></TableColumns><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox11"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox11</DefaultName><ZIndex>7</ZIndex><Value>Sending Address </Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox3"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox3</DefaultName><ZIndex>6</ZIndex><Value>Server</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox4"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox4</DefaultName><ZIndex>5</ZIndex><Value>MB Received</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox5"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox5</DefaultName><ZIndex>4</ZIndex><Value>Messages Received</Value></Textbox></ReportItems></TableCell></TableCells><Height>0.375in</Height></TableRow></TableRows><RepeatOnNewPage>true</RepeatOnNewPage></Header><Details><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="InstanceName"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">InstanceName</DefaultName><ZIndex>3</ZIndex><Value>=Fields!InstanceName.Value</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="Server"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">Server</DefaultName><ZIndex>2</ZIndex><Value>=Fields!Server.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="TotalMB"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Format>F</Format><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">TotalMB</DefaultName><ZIndex>1</ZIndex><Value>=Fields!TotalMB.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="TotalMsgCount"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Format>F</Format><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">TotalMsgCount</DefaultName><Value>=Fields!TotalMsgCount.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting></Details></Table></ReportItems><Style><BorderWidth><Default>0.5pt</Default></BorderWidth></Style><Height>11in</Height><ColumnSpacing>0.25in</ColumnSpacing></Body><TopMargin>1in</TopMargin><DataSources><DataSource Name="SCDW"><rd:DataSourceID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">fb44cba7-75a7-4314-b2a5-1fce44701d23</rd:DataSourceID><DataSourceReference>SCDW</DataSourceReference></DataSource></DataSources><Code>public function CurrentTimeZone() as string 
	CurrentTimeZone = System.TimeZone.CurrentTimeZone.StandardName
end function

public function FormatNumber(fieldValue, formatString) as string 
	if (fieldValue is Nothing)
		FormatNumber = "Not Available"
	else
		FormatNumber = Format(fieldValue,formatString)
	end if
end function
</Code><Width>6.5in</Width><DataSets><DataSet Name="CurrentDate"><Fields><Field Name="BeginDate"><DataField>BeginDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="EndDate"><DataField>EndDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     BeginDate, EndDate
FROM         fn_GetDateRange(7) fn_GetDateRange</CommandText><Timeout>0</Timeout></Query></DataSet><DataSet Name="ComputerList"><Fields><Field Name="Computer"><DataField>Computer</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT DISTINCT SourceClassInstanceKeyValue AS Computer
FROM         [SC_Class_Rel_Computer-Exchange_View]
UNION
SELECT     '&lt;ALL&gt;'
ORDER BY Computer</CommandText><Timeout>3000000</Timeout></Query></DataSet><DataSet Name="CompGroup"><Fields><Field Name="CompGroup"><DataField>CompGroup</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     CompGroup
FROM         fn_ListComputerGroups()</CommandText><Timeout>3000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet><DataSet Name="ExchangeOutboundSenders"><Fields><Field Name="InstanceName"><DataField>InstanceName</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="Server"><DataField>Server</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="TotalMsgCount"><DataField>TotalMsgCount</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="TotalMB"><DataField>TotalMB</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT 	Top 100 
	InstanceName, 
	Server, 
	ROUND(AVG(MsgCount), 0) AS TotalMsgCount, 
	AVG(TotalMB) AS TotalMB
from 
(SELECT  
	InstanceName 	=CDD.InstanceName_PK,
	[Time] 		= SND.LocalDateTimeSampled, 
	Server 		= CD.FullComputerName,
	TotalMB		= CASE WHEN( CDD.ObjectName_PK='McExchDG' and CDD.CounterName_PK='MTP Out Sender E2k MB') then SND.SampleValue END ,
	MsgCount	= CASE WHEN( CDD.ObjectName_PK='McExchDG' and CDD.CounterName_PK='SMTP Out Sender E2k Message Count') then SND.SampleValue END 
FROM          
	dbo.SC_SampledNumericDataFact_View SND INNER JOIN
        dbo.SC_CounterDetailDimension_View CDD ON CDD.SMC_InstanceID = SND.CounterDetail_FK INNER JOIN
        dbo.SC_ComputerDimension_View CD ON CD.SMC_InstanceID = SND.Computer_FK 
WHERE   
	CDD.ObjectName_PK in ('McExchDG') AND CDD.CounterName_PK in ( 'SMTP Out Sender E2k MB','SMTP Out Sender E2k Message Count') and SND.LocalDateTimeSampled between @BeginDate and @EndDate and (@Computer='&lt;ALL&gt;' or CD.FullComputerName =@Computer)
) temp
group by InstanceName,Server
order by ROUND(AVG(MsgCount), 0)</CommandText><QueryParameters><QueryParameter Name="@BeginDate"><Value>=Parameters!BeginDate.Value</Value></QueryParameter><QueryParameter Name="@EndDate"><Value>=Parameters!EndDate.Value</Value></QueryParameter><QueryParameter Name="@Computer"><Value>=Parameters!Computer.Value</Value></QueryParameter></QueryParameters><Timeout>300000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet></DataSets><LeftMargin>1in</LeftMargin><rd:SnapToGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:SnapToGrid><rd:DrawGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:DrawGrid><Description /><rd:ReportID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">212d782b-9718-4b8d-a1c1-2bd72afd7b82</rd:ReportID><PageFooter><ReportItems><Textbox Name="textboxPageNumber_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.25in</Top><Height>0.25in</Height><Value>="Page " &amp; Globals.PageNumber &amp; "/" &amp; Globals.TotalPages</Value><Left>4in</Left></Textbox><Textbox Name="textbox1DateTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><Top>0.25in</Top><Height>0.25in</Height><Width>4in</Width><Value>="All dates and  times shown in " &amp; Code.CurrentTimeZone()</Value></Textbox></ReportItems><PrintOnLastPage>true</PrintOnLastPage><PrintOnFirstPage>true</PrintOnFirstPage><Style /><Height>0.55in</Height></PageFooter><BottomMargin>1in</BottomMargin><ReportParameters><ReportParameter Name="BeginDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>BeginDate</ValueField></DataSetReference></DefaultValue><Prompt>Begin Date</Prompt></ReportParameter><ReportParameter Name="EndDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>EndDate</ValueField></DataSetReference></DefaultValue><Prompt>End Date</Prompt></ReportParameter><ReportParameter Name="Computer"><DataType>String</DataType><Prompt>Server</Prompt><ValidValues><DataSetReference><DataSetName>ComputerList</DataSetName><ValueField>Computer</ValueField><LabelField>Computer</LabelField></DataSetReference></ValidValues></ReportParameter><ReportParameter Name="SortBy"><DataType>String</DataType><DefaultValue><Values><Value>TotalMsgCount</Value></Values></DefaultValue><Prompt>Sort By</Prompt><ValidValues><ParameterValues><ParameterValue><Value>InstanceName</Value><Label>Sending Address</Label></ParameterValue><ParameterValue><Value>Server</Value></ParameterValue><ParameterValue><Value>TotalMB</Value><Label>MB Received</Label></ParameterValue><ParameterValue><Value>TotalMsgCount</Value><Label>Messages Received</Label></ParameterValue></ParameterValues></ValidValues></ReportParameter><ReportParameter Name="Direction"><DataType>String</DataType><DefaultValue><Values><Value>Descending</Value></Values></DefaultValue><Prompt>Sort Order</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Ascending</Value></ParameterValue><ParameterValue><Value>Descending</Value></ParameterValue></ParameterValues></ValidValues></ReportParameter></ReportParameters></Report>]]></ReportDefinition>
  </ReportItem>
  <ReportItem>
    <Name>SMTP Outbound Mail - Top 100 Senders by Size</Name>
    <Type>Report</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/Exchange 2000 and 2003 Traffic Analysis/SMTP Outbound Mail - Top 100 Senders by Size</Path>
    <ReportDefinition><![CDATA[<?xml version='1.0' encoding='utf-8'?><Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportdefinition"><rd:GridSpacing xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">0.05in</rd:GridSpacing><RightMargin>1in</RightMargin><Body><ReportItems><Textbox Name="textboxRightLogo"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/2Inch_Logo.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>6</ZIndex><Height>0.5625in</Height><Value /><Left>4.5in</Left></Textbox><Textbox Name="textboxReportTitle_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/4.5Inch_Banner.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>5</ZIndex><Height>0.5625in</Height><Width>4.5in</Width><Value>SMTP Outbound Mail - Top 100 Senders (by Size)</Value></Textbox><Textbox Name="textboxExecutionTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>4</ZIndex><Top>0.5625in</Top><Height>0.25in</Height><Value>=Globals.ExecutionTime</Value><Left>4.5in</Left></Textbox><Textbox Name="textboxParameterValue_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.375in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!Computer.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterValue_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.25in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!BeginDate.Value &amp; " - " &amp; Parameters!EndDate.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterName_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.375in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Server :</Value></Textbox><Textbox Name="textboxParameterName_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.25in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Date Range :</Value></Textbox><Textbox Name="textboxDescription_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>GhostWhite</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.8125in</Top><ToggleImage><InitialState>true</InitialState></ToggleImage><Height>0.375in</Height><Visibility><ToggleItem>textboxDescriptionHeading_tmp</ToggleItem><Hidden>true</Hidden></Visibility><CanGrow>true</CanGrow><Value>= "This report shows the amount of message traffic flowing out from a given server via SMTP, ordered by the total size of such mails sent by each sender. This report may include mail originating on other servers if the given server is used to relay mail. This is generated with Message Tracking Log data from event 1031. Traffic analysis reports the frequency that a mail item passes through a server. Because an item of mail may loop through a SMTP Bridgehead server more than once, these reports are more accurate when targeted against mailbox servers."  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "The following rules need to be enabled for data to be collected:"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "	For Exchange 2000 Server:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server\Exchange 2000\Server Utilization Logging:Reports and views\Report Collection"  &amp; VbCrLf &amp;  "–       Report Collection - Message Tracking Log Data"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "	For Exchange Server 2003:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server\Exchange 2003\Report Collection Rules\Message Tracking Log Analysis\"  &amp; VbCrLf &amp;  "–       Report Collection - Message Tracking Log Data" </Value></Textbox><Textbox Name="textboxDescriptionHeading_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><Top>0.5625in</Top><Height>0.25in</Height><Width>4.5in</Width><CanGrow>true</CanGrow><Value>Description</Value></Textbox><Table Name="table1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle></Style><Top>1.75in</Top><Height>0.625in</Height><ZIndex>1</ZIndex><NoRows>= "There is no data available for this report. This can occur when there is no relevant data available for collection, the reports’ dependent rules are not enabled or when none of the relevant data has been copied to the Reporting database." </NoRows><DataSetName>ExchangeOutboundSenders</DataSetName><TableColumns><TableColumn><Width>2.25in</Width></TableColumn><TableColumn><Width>2.5in</Width></TableColumn><TableColumn><Width>0.875in</Width></TableColumn><TableColumn><Width>0.875in</Width></TableColumn></TableColumns><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox11"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox11</DefaultName><ZIndex>7</ZIndex><Value>Sending Address</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox3"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox3</DefaultName><ZIndex>6</ZIndex><Value>Server</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox4"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox4</DefaultName><ZIndex>5</ZIndex><Value>MB Received</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox5"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox5</DefaultName><ZIndex>4</ZIndex><Value>Messages Received</Value></Textbox></ReportItems></TableCell></TableCells><Height>0.375in</Height></TableRow></TableRows><RepeatOnNewPage>true</RepeatOnNewPage></Header><Details><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="InstanceName"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">InstanceName</DefaultName><ZIndex>3</ZIndex><Value>=Fields!InstanceName.Value</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="Server"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">Server</DefaultName><ZIndex>2</ZIndex><Value>=Fields!Server.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="TotalMB"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Format>F</Format><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">TotalMB</DefaultName><ZIndex>1</ZIndex><Value>=Fields!TotalMB.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="TotalMsgCount"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Format>F</Format><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">TotalMsgCount</DefaultName><Value>=Fields!TotalMsgCount.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting></Details></Table></ReportItems><Style><BorderWidth><Default>0.5pt</Default></BorderWidth></Style><Height>11in</Height><ColumnSpacing>0.25in</ColumnSpacing></Body><TopMargin>1in</TopMargin><DataSources><DataSource Name="SCDW"><rd:DataSourceID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">fb44cba7-75a7-4314-b2a5-1fce44701d23</rd:DataSourceID><DataSourceReference>SCDW</DataSourceReference></DataSource></DataSources><Code>public function CurrentTimeZone() as string 
	CurrentTimeZone = System.TimeZone.CurrentTimeZone.StandardName
end function

public function FormatNumber(fieldValue, formatString) as string 
	if (fieldValue is Nothing)
		FormatNumber = "Not Available"
	else
		FormatNumber = Format(fieldValue,formatString)
	end if
end function
</Code><Width>6.5in</Width><DataSets><DataSet Name="CurrentDate"><Fields><Field Name="BeginDate"><DataField>BeginDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="EndDate"><DataField>EndDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     BeginDate, EndDate
FROM         fn_GetDateRange(7) fn_GetDateRange</CommandText><Timeout>0</Timeout></Query></DataSet><DataSet Name="ComputerList"><Fields><Field Name="Computer"><DataField>Computer</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT DISTINCT SourceClassInstanceKeyValue AS Computer
FROM         [SC_Class_Rel_Computer-Exchange_View]
UNION
SELECT     '&lt;ALL&gt;'
ORDER BY Computer</CommandText><Timeout>3000000</Timeout></Query></DataSet><DataSet Name="CompGroup"><Fields><Field Name="CompGroup"><DataField>CompGroup</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     CompGroup
FROM         fn_ListComputerGroups()</CommandText><Timeout>3000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet><DataSet Name="ExchangeOutboundSenders"><Fields><Field Name="InstanceName"><DataField>InstanceName</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="Server"><DataField>Server</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="TotalMsgCount"><DataField>TotalMsgCount</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="TotalMB"><DataField>TotalMB</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT 	Top 100 
	InstanceName, 
	Server, 
	ROUND(AVG(MsgCount), 0) AS TotalMsgCount, 
	AVG(TotalMB) AS TotalMB
from 
(SELECT  
	InstanceName 	=CDD.InstanceName_PK,
	[Time] 		= SND.LocalDateTimeSampled, 
	Server 		= CD.FullComputerName,
	TotalMB		= CASE WHEN( CDD.ObjectName_PK='McExchDG' and CDD.CounterName_PK='MTP Out Sender E2k MB') then SND.SampleValue END ,
	MsgCount	= CASE WHEN( CDD.ObjectName_PK='McExchDG' and CDD.CounterName_PK='SMTP Out Sender E2k Message Count') then SND.SampleValue END 
FROM          
	dbo.SC_SampledNumericDataFact_View SND INNER JOIN
        dbo.SC_CounterDetailDimension_View CDD ON CDD.SMC_InstanceID = SND.CounterDetail_FK INNER JOIN
        dbo.SC_ComputerDimension_View CD ON CD.SMC_InstanceID = SND.Computer_FK 
WHERE   
	CDD.ObjectName_PK in ('McExchDG') AND CDD.CounterName_PK in ( 'SMTP Out Sender E2k MB','SMTP Out Sender E2k Message Count') and SND.LocalDateTimeSampled between @BeginDate and @EndDate and (@Computer='&lt;ALL&gt;' or CD.FullComputerName =@Computer)
) temp
group by InstanceName,Server
order by AVG(TotalMB)</CommandText><QueryParameters><QueryParameter Name="@BeginDate"><Value>=Parameters!BeginDate.Value</Value></QueryParameter><QueryParameter Name="@EndDate"><Value>=Parameters!EndDate.Value</Value></QueryParameter><QueryParameter Name="@Computer"><Value>=Parameters!Computer.Value</Value></QueryParameter></QueryParameters><Timeout>300000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet></DataSets><LeftMargin>1in</LeftMargin><rd:SnapToGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:SnapToGrid><rd:DrawGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:DrawGrid><Description /><rd:ReportID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">212d782b-9718-4b8d-a1c1-2bd72afd7b82</rd:ReportID><PageFooter><ReportItems><Textbox Name="textboxPageNumber_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.25in</Top><Height>0.25in</Height><Value>="Page " &amp; Globals.PageNumber &amp; "/" &amp; Globals.TotalPages</Value><Left>4in</Left></Textbox><Textbox Name="textbox1DateTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><Top>0.25in</Top><Height>0.25in</Height><Width>4in</Width><Value>="All dates and  times shown in " &amp; Code.CurrentTimeZone()</Value></Textbox></ReportItems><PrintOnLastPage>true</PrintOnLastPage><PrintOnFirstPage>true</PrintOnFirstPage><Style /><Height>0.55in</Height></PageFooter><BottomMargin>1in</BottomMargin><ReportParameters><ReportParameter Name="BeginDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>BeginDate</ValueField></DataSetReference></DefaultValue><Prompt>Begin Date</Prompt></ReportParameter><ReportParameter Name="EndDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>EndDate</ValueField></DataSetReference></DefaultValue><Prompt>End Date</Prompt></ReportParameter><ReportParameter Name="Computer"><DataType>String</DataType><Prompt>Server</Prompt><ValidValues><DataSetReference><DataSetName>ComputerList</DataSetName><ValueField>Computer</ValueField><LabelField>Computer</LabelField></DataSetReference></ValidValues></ReportParameter><ReportParameter Name="SortBy"><DataType>String</DataType><DefaultValue><Values><Value>TotalMB</Value></Values></DefaultValue><Prompt>Sort By</Prompt><ValidValues><ParameterValues><ParameterValue><Value>InstanceName</Value><Label>Sending Address</Label></ParameterValue><ParameterValue><Value>Server</Value></ParameterValue><ParameterValue><Value>TotalMB</Value><Label>MB Received</Label></ParameterValue><ParameterValue><Value>TotalMsgCount</Value><Label>Messages Received</Label></ParameterValue></ParameterValues></ValidValues></ReportParameter><ReportParameter Name="Direction"><DataType>String</DataType><DefaultValue><Values><Value>Descending</Value></Values></DefaultValue><Prompt>Sort Order</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Ascending</Value></ParameterValue><ParameterValue><Value>Descending</Value></ParameterValue></ParameterValues></ValidValues></ReportParameter></ReportParameters></Report>]]></ReportDefinition>
  </ReportItem>
  <ReportItem>
    <Name>SCDW</Name>
    <Type>DataSource</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/Exchange 2000 and 2003 Traffic Analysis/SCDW</Path>
    <DataSourceDefinitionContainer><![CDATA[<?xml version="1.0"?>
<DataSourceDefinition xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Extension xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">SQL</Extension>
  <ConnectString xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">data source=.;initial catalog=SystemCenterReporting</ConnectString>
  <CredentialRetrieval xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">Integrated</CredentialRetrieval>
  <WindowsCredentials xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">false</WindowsCredentials>
  <ImpersonateUser xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">false</ImpersonateUser>
  <Prompt xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">Enter a user name and password to access the data source:</Prompt>
  <Enabled xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">true</Enabled>
</DataSourceDefinition>]]></DataSourceDefinitionContainer>
  </ReportItem>
  <ReportItem>
    <Name>Exchange Capacity Planning</Name>
    <Type>Folder</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/Exchange Capacity Planning</Path>
  </ReportItem>
  <ReportItem>
    <Name>Active Client Logons by Day</Name>
    <Type>Report</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/Exchange Capacity Planning/Active Client Logons by Day</Path>
    <ReportDefinition><![CDATA[<?xml version='1.0' encoding='utf-8'?><Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportdefinition"><rd:GridSpacing xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">0.05in</rd:GridSpacing><RightMargin>1in</RightMargin><Body><ReportItems><Textbox Name="textboxRightLogo"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/2Inch_Logo.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>6</ZIndex><Height>0.5625in</Height><Value /><Left>9in</Left></Textbox><Textbox Name="textboxReportTitle_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/9Inch_Banner.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>5</ZIndex><Height>0.5625in</Height><Width>9in</Width><CanGrow>true</CanGrow><Value>Active Client Logons by Day</Value></Textbox><Textbox Name="textboxExecutionTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>4</ZIndex><Top>0.5625in</Top><Height>0.25in</Height><Value>=Globals.ExecutionTime</Value><Left>9in</Left></Textbox><Textbox Name="textboxParameterValue_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.375in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!Computer.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterValue_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.25in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!BeginDate.Value &amp; " - " &amp; Parameters!EndDate.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterName_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.375in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Server :</Value></Textbox><Textbox Name="textboxParameterName_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.25in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Date Range :</Value></Textbox><Textbox Name="textboxDescription_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>GhostWhite</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.8125in</Top><ToggleImage><InitialState>true</InitialState></ToggleImage><Height>0.375in</Height><Visibility><ToggleItem>textboxDescriptionHeading_tmp</ToggleItem><Hidden>true</Hidden></Visibility><CanGrow>true</CanGrow><Value>= "This report provides a graph of the active client logons for each specified server during the specified time period. The graph indicates the minimum, maximum, and average active client logons based on the MSExchangeIS Public - Active Client Logons and MSExchangeIS Mailbox/Private - Active Client Logons performance counters."  &amp; VbCrLf &amp;  "This report provides one graph for each specified server. 'Minimum - MSExchangeIS Public - Active Client Logons', 'Maximum - MSExchangeIS Public - Active Client Logons', and 'Average - MSExchangeIS Public - Active Client Logons' are plotted on primary axis and counters 'Minimum - MSExchangeIS Mailbox/Private - Active Client Logons', 'Maximum - MSExchangeIS Mailbox/Private- Active Client Logons', and 'Average - MSExchangeIS Mailbox/Private - Active Client Logons' are plotted on secondary y-axis."  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "The following rules need to be enabled for data to be collected:"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "For Exchange 2000 Server:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server\Exchange 2000\Server Utilization Logging:Reports and views\Exchange Usage and Performance logging\"  &amp; VbCrLf &amp;  "–       Mailbox Store: Active Client Logons"  &amp; VbCrLf &amp;  "–       Public Folder Store: Active Client Logons"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "For Exchange Server 2003:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server\Exchange 2003\Performance Counter Logging Rules\Exchange Utilization and Performance\Mailbox Store Utilization\"  &amp; VbCrLf &amp;  "–       Mailbox Store: Active Client Logons"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server\Exchange 2003\Performance Counter Logging Rules\Exchange Utilization and Performance\Public Folder Store Utilization\"  &amp; VbCrLf &amp;  "–       Public Folder Store: Active Client Logons" </Value></Textbox><Textbox Name="textboxDescriptionHeading_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><Top>0.5625in</Top><Height>0.25in</Height><Width>9in</Width><CanGrow>true</CanGrow><Value>Description</Value></Textbox><Chart Name="chart1"><Type>Line</Type><Subtype>Plain</Subtype><Style><BackgroundColor>White</BackgroundColor></Style><Top>1.75in</Top><Height>5in</Height><ZIndex>7</ZIndex><NoRows>= "There is no data available for this report. This can occur when there is no relevant data available for collection, the reports’ dependent rules are not enabled or when none of the relevant data has been copied to the Reporting database." </NoRows><DataSetName>ActiveClientLogons</DataSetName><SeriesGroupings><SeriesGrouping><DynamicSeries><Grouping Name="chart1_SeriesGroup1"><GroupExpressions><GroupExpression>=Fields!Server.Value</GroupExpression></GroupExpressions></Grouping><Label>=Fields!Server.Value</Label></DynamicSeries></SeriesGrouping><SeriesGrouping><StaticSeries><StaticMember><Label>Minimum MSExchange IS Public Active Client Logons</Label></StaticMember><StaticMember><Label>Maximum MSExchange IS Public Active Client Logons</Label></StaticMember><StaticMember><Label>Average MSExchange IS Public Active Client Logons</Label></StaticMember><StaticMember><Label>Minimum MSExchange IS Mailbox Private Active Client Logons</Label></StaticMember><StaticMember><Label>Maximum MSExchange IS Mailbox Private Active Client Logons</Label></StaticMember><StaticMember><Label>Average MSExchange IS Mailbox Private Active Client Logons</Label></StaticMember></StaticSeries></SeriesGrouping></SeriesGroupings><CategoryGroupings><CategoryGrouping><DynamicCategories><Grouping Name="chart1_CategoryGroup1"><GroupExpressions><GroupExpression>=Fields!time.Value</GroupExpression></GroupExpressions></Grouping><Label>=Fields!time.Value</Label></DynamicCategories></CategoryGrouping></CategoryGroupings><ChartData><ChartSeries><DataPoints><DataPoint><DataValues><DataValue><Value>=Sum(Fields!Minimum___MSExchangeIS_Public_Active_Client_Logons.Value)</Value></DataValue></DataValues><DataLabel /><Marker /></DataPoint></DataPoints></ChartSeries><ChartSeries><DataPoints><DataPoint><DataValues><DataValue><Value>=Sum(Fields!Maximum___MSExchangeIS_Public_Active_Client_Logons.Value)</Value></DataValue></DataValues><DataLabel /><Marker /></DataPoint></DataPoints></ChartSeries><ChartSeries><DataPoints><DataPoint><DataValues><DataValue><Value>=Sum(Fields!Average___MSExchangeIS_Public_Active_Client_Logons.Value)</Value></DataValue></DataValues><DataLabel /><Marker /></DataPoint></DataPoints></ChartSeries><ChartSeries><DataPoints><DataPoint><DataValues><DataValue><Value>=Sum(Fields!Minimum___MSExchangeIS_Mailbox_Private_Active_Client_Logons.Value)</Value></DataValue></DataValues><DataLabel /><Marker /></DataPoint></DataPoints></ChartSeries><ChartSeries><DataPoints><DataPoint><DataValues><DataValue><Value>=Sum(Fields!Maximum___MSExchangeIS_Mailbox_Private_Active_Client_Logons.Value)</Value></DataValue></DataValues><DataLabel /><Marker /></DataPoint></DataPoints></ChartSeries><ChartSeries><DataPoints><DataPoint><DataValues><DataValue><Value>=Sum(Fields!Average___MSExchangeIS_Mailbox_Private_Active_Client_Logons.Value)</Value></DataValue></DataValues><DataLabel /><Marker /></DataPoint></DataPoints></ChartSeries></ChartData><Legend><Visible>true</Visible><Style><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize></Style><Position>TopCenter</Position></Legend><CategoryAxis><Axis><Visible>true</Visible><Style><Format>d</Format></Style><Title /><Margin>true</Margin><MajorTickMarks>Outside</MajorTickMarks><MajorGridLines><ShowGridLines>true</ShowGridLines><Style><BorderColor><Default>Silver</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle></Style></MajorGridLines><MinorGridLines><ShowGridLines>true</ShowGridLines><Style><BorderColor><Default>Silver</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BorderWidth><Default>0.75pt</Default></BorderWidth></Style></MinorGridLines><MajorInterval>1</MajorInterval><Scalar>true</Scalar><Min>0</Min></Axis></CategoryAxis><ValueAxis><Axis><Visible>true</Visible><Title /><Margin>true</Margin><MajorTickMarks>Outside</MajorTickMarks><MajorGridLines><ShowGridLines>true</ShowGridLines><Style><BorderStyle><Default>Solid</Default></BorderStyle></Style></MajorGridLines><MinorGridLines><ShowGridLines>true</ShowGridLines><Style><BorderColor><Default>Silver</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BorderWidth><Default>0.75pt</Default></BorderWidth></Style></MinorGridLines><Scalar>true</Scalar></Axis></ValueAxis><Title /><Palette>Default</Palette><ThreeDProperties><Rotation>30</Rotation><Inclination>30</Inclination><Shading>Simple</Shading><WallThickness>50</WallThickness></ThreeDProperties><PlotArea><Style><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor></Style></PlotArea></Chart></ReportItems><Style><BorderWidth><Default>0.5pt</Default></BorderWidth></Style><Height>11in</Height><ColumnSpacing>0.25in</ColumnSpacing></Body><TopMargin>1in</TopMargin><DataSources><DataSource Name="SCDW"><rd:DataSourceID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">fb44cba7-75a7-4314-b2a5-1fce44701d23</rd:DataSourceID><DataSourceReference>SCDW</DataSourceReference></DataSource></DataSources><Code>public function CurrentTimeZone() as string 
	CurrentTimeZone = System.TimeZone.CurrentTimeZone.StandardName
end function

public function FormatNumber(fieldValue, formatString) as string 
	if (fieldValue is Nothing)
		FormatNumber = "Not Available"
	else
		FormatNumber = Format(fieldValue,formatString)
	end if
end function

public function GetBeginDate(n as integer) as string 
     dim d as date
     d= dateadd(DateInterval.Day,n,now())
     GetBeginDate=d.tostring("d")
end function
public function GetEndDate(n as integer) as string 
     dim d as date
     d= dateadd(DateInterval.Day,n,now())
     GetEndDate=d.tostring("d")
end function
</Code><Width>11in</Width><DataSets><DataSet Name="ActiveClientLogons"><Fields><Field Name="time"><DataField>Time</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="Server"><DataField>Server</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="Minimum___MSExchangeIS_Public_Active_Client_Logons"><DataField>Minimum - MSExchangeIS Public-Active Client Logons</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="Maximum___MSExchangeIS_Public_Active_Client_Logons"><DataField>Maximum - MSExchangeIS Public-Active Client Logons</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="Average___MSExchangeIS_Public_Active_Client_Logons"><DataField>Average - MSExchangeIS Public-Active Client Logons</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="Minimum___MSExchangeIS_Mailbox_Private_Active_Client_Logons"><DataField>Minimum - MSExchangeIS Mailbox/Private-Active Client Logons</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="Maximum___MSExchangeIS_Mailbox_Private_Active_Client_Logons"><DataField>Maximum - MSExchangeIS Mailbox/Private-Active Client Logons</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="Average___MSExchangeIS_Mailbox_Private_Active_Client_Logons"><DataField>Average - MSExchangeIS Mailbox/Private-Active Client Logons</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     [Time], Server, [Minimum - MSExchangeIS Public-Active Client Logons] = MIN([MSExchangeIS Public-Active Client Logons]), 
                      [Maximum - MSExchangeIS Public-Active Client Logons] = MAX([MSExchangeIS Public-Active Client Logons]), 
                      [Average - MSExchangeIS Public-Active Client Logons] = AVG([MSExchangeIS Public-Active Client Logons]), 
                      [Minimum - MSExchangeIS Mailbox/Private-Active Client Logons] = MIN([MSExchangeIS Mailbox/Private-Active Client Logons]), 
                      [Maximum - MSExchangeIS Mailbox/Private-Active Client Logons] = MAX([MSExchangeIS Mailbox/Private-Active Client Logons]), 
                      [Average - MSExchangeIS Mailbox/Private-Active Client Logons] = AVG([MSExchangeIS Mailbox/Private-Active Client Logons])
FROM         (SELECT     [Time] = DD.Date, Server = CD.FullComputerName, 
                                              [MSExchangeIS Public-Active Client Logons] = CASE WHEN (CDD.ObjectName_PK = 'MSExchangeIS Public' AND 
                                              CDD.CounterName_PK = 'Active Client Logons') THEN SND.SampleValue END, 
                                              [MSExchangeIS Mailbox/Private-Active Client Logons] = CASE WHEN (CDD.ObjectName_PK IN ('MSExchangeIS Mailbox', 
                                              'MSExchangeIS Private') AND CDD.CounterName_PK = 'Active Client Logons') THEN SND.SampleValue END
                       FROM          dbo.SC_SampledNumericDataFact_View SND INNER JOIN
                                              dbo.SC_CounterDetailDimension_View CDD ON CDD.SMC_InstanceID = SND.CounterDetail_FK INNER JOIN
                                              dbo.SC_ComputerDimension_View CD ON CD.SMC_InstanceID = SND.Computer_FK INNER JOIN
                                              dbo.SC_DateDimension_View DD ON DD.SMC_InstanceID = SND.LocalDateSampled_FK
                       WHERE      CDD.ObjectName_PK IN ('MSExchangeIS Public', 'MSExchangeIS Mailbox', 'MSExchangeIS Private') AND 
                                              CDD.CounterName_PK IN ('Active Client Logons') AND CDD.InstanceName_PK IN ('_Total') AND DD.Date BETWEEN @BeginDate AND 
                                              @EndDate AND CD.FullComputerName = @Computer) TEMP
GROUP BY Server, [Time]
ORDER BY Server, [Time]</CommandText><QueryParameters><QueryParameter Name="@BeginDate"><Value>=Parameters!BeginDate.Value</Value></QueryParameter><QueryParameter Name="@EndDate"><Value>=Parameters!EndDate.Value</Value></QueryParameter><QueryParameter Name="@Computer"><Value>=Parameters!Computer.Value</Value></QueryParameter></QueryParameters><Timeout>0</Timeout></Query></DataSet><DataSet Name="CurrentDate"><Fields><Field Name="BeginDate"><DataField>BeginDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="EndDate"><DataField>EndDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     BeginDate, EndDate
FROM         fn_GetDateRange(7) fn_GetDateRange</CommandText><Timeout>30000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet><DataSet Name="ComputerList"><Fields><Field Name="Computer"><DataField>Computer</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT DISTINCT SourceClassInstanceKeyValue AS Computer
FROM         [SC_Class_Rel_Computer-Exchange_View]
ORDER BY Computer</CommandText><Timeout>300000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet></DataSets><LeftMargin>1in</LeftMargin><rd:SnapToGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:SnapToGrid><rd:DrawGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:DrawGrid><Description /><PageWidth>13in</PageWidth><rd:ReportID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">212d782b-9718-4b8d-a1c1-2bd72afd7b82</rd:ReportID><PageFooter><ReportItems><Textbox Name="textboxPageNumber_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.2in</Top><Height>0.25in</Height><Value>="Page " &amp; Globals.PageNumber &amp; "/" &amp; Globals.TotalPages</Value><Left>4in</Left></Textbox><Textbox Name="textbox1DateTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><Top>0.2in</Top><Height>0.25in</Height><Width>4in</Width><Value>="All dates and  times shown in " &amp; Code.CurrentTimeZone()</Value></Textbox></ReportItems><PrintOnLastPage>true</PrintOnLastPage><PrintOnFirstPage>true</PrintOnFirstPage><Style /><Height>0.5in</Height></PageFooter><BottomMargin>1in</BottomMargin><ReportParameters><ReportParameter Name="Temp1"><DataType>String</DataType><DefaultValue><Values><Value>=Code.GetBeginDate(-7)</Value></Values></DefaultValue><AllowBlank>true</AllowBlank></ReportParameter><ReportParameter Name="Temp2"><DataType>String</DataType><DefaultValue><Values><Value>=Code.GetEndDate(0)</Value></Values></DefaultValue><AllowBlank>true</AllowBlank></ReportParameter><ReportParameter Name="BeginDate"><DataType>String</DataType><DefaultValue><Values><Value>= Parameters!Temp1.Value</Value></Values></DefaultValue><Prompt>Begin Date</Prompt></ReportParameter><ReportParameter Name="EndDate"><DataType>String</DataType><DefaultValue><Values><Value>= Parameters!Temp2.Value</Value></Values></DefaultValue><Prompt>End Date</Prompt></ReportParameter><ReportParameter Name="Computer"><DataType>String</DataType><Prompt>Server</Prompt><ValidValues><DataSetReference><DataSetName>ComputerList</DataSetName><ValueField>Computer</ValueField><LabelField>Computer</LabelField></DataSetReference></ValidValues></ReportParameter></ReportParameters></Report>]]></ReportDefinition>
  </ReportItem>
  <ReportItem>
    <Name>Client Logons by Day</Name>
    <Type>Report</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/Exchange Capacity Planning/Client Logons by Day</Path>
    <ReportDefinition><![CDATA[<?xml version='1.0' encoding='utf-8'?><Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportdefinition"><rd:GridSpacing xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">0.05in</rd:GridSpacing><RightMargin>1in</RightMargin><Body><ReportItems><Textbox Name="textboxRightLogo"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/2Inch_Logo.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>6</ZIndex><Height>0.5625in</Height><Value /><Left>9in</Left></Textbox><Textbox Name="textboxReportTitle_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/9Inch_Banner.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>5</ZIndex><Height>0.5625in</Height><Width>9in</Width><CanGrow>true</CanGrow><Value>Client Logons by Day</Value></Textbox><Textbox Name="textboxExecutionTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>4</ZIndex><Top>0.5625in</Top><Height>0.25in</Height><Value>=Globals.ExecutionTime</Value><Left>9in</Left></Textbox><Textbox Name="textboxParameterValue_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.375in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!Computer.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterValue_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.25in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!BeginDate.Value &amp; " - " &amp; Parameters!EndDate.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterName_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.375in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Server :</Value></Textbox><Textbox Name="textboxParameterName_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.25in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Date Range :</Value></Textbox><Textbox Name="textboxDescription_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>GhostWhite</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.8125in</Top><ToggleImage><InitialState>true</InitialState></ToggleImage><Height>0.375in</Height><Visibility><ToggleItem>textboxDescriptionHeading_tmp</ToggleItem><Hidden>true</Hidden></Visibility><CanGrow>true</CanGrow><Value>= "This report provides a graph of the client logons for each specified server during the specified time period. The graph indicates the minimum, maximum, and average active client logons based on the MSExchangeIS Public - Client Logons and MSExchangeIS Mailbox/Private - Client Logons performance counters."  &amp; VbCrLf &amp;  "This report provides one graph for each specified server. 'Minimum - MSExchangeIS Public - Client Logons', 'Maximum - MSExchangeIS Public - Client Logons', and 'Average - MSExchangeIS Public - Client Logons' are plotted on primary axis and counters 'Minimum - MSExchangeIS Mailbox/Private - Client Logons', 'Maximum - MSExchangeIS Mailbox/Private - Client Logons', and 'Average - MSExchangeIS Mailbox/Private - Client Logons' are plotted on secondary y-axis."  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "The following rules need to be enabled for data to be collected:"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "For Exchange 2000 Server:"  &amp; VbCrLf &amp;  "- 	Microsoft Exchange Server\Exchange 2000\Server Utilization Logging:Reports and views\Exchange Usage and Performance logging\"  &amp; VbCrLf &amp;  "-	 	Mailbox Store: Client Logons"  &amp; VbCrLf &amp;  "- 	Public Folder Store: Client Logons"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "For Exchange Server 2003:"  &amp; VbCrLf &amp;  "- 	Microsoft Exchange Server\Exchange 2003\Performance Counter Logging Rules\Exchange Utilization and Performance\Mailbox Store Utilization\"  &amp; VbCrLf &amp;  "- 	Mailbox Store: Client Logons"  &amp; VbCrLf &amp;  "- 	Microsoft Exchange Server\Exchange 2003\Performance Counter Logging Rules\Exchange Utilization and Performance\Public Folder Store Utilization\"  &amp; VbCrLf &amp;  "- 	Public Folder Store: Client Logons"  &amp; VbCrLf &amp;  "" </Value></Textbox><Textbox Name="textboxDescriptionHeading_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><Top>0.5625in</Top><Height>0.25in</Height><Width>9in</Width><CanGrow>true</CanGrow><Value>Description</Value></Textbox><Chart Name="chart1"><Type>Line</Type><Subtype>Plain</Subtype><Style><BackgroundColor>White</BackgroundColor></Style><Top>1.75in</Top><Height>5in</Height><ZIndex>9</ZIndex><NoRows>= "There is no data available for this report. This can occur when there is no relevant data available for collection, the reports’ dependent rules are not enabled or when none of the relevant data has been copied to the Reporting database." </NoRows><DataSetName>ClientLogons</DataSetName><SeriesGroupings><SeriesGrouping><DynamicSeries><Grouping Name="chart1_SeriesGroup1"><GroupExpressions><GroupExpression>=Fields!Server.Value</GroupExpression></GroupExpressions></Grouping><Label>=Fields!Server.Value</Label></DynamicSeries></SeriesGrouping><SeriesGrouping><StaticSeries><StaticMember><Label>Minimum MSExchange IS Public Client Logons</Label></StaticMember><StaticMember><Label>Maximum MSExchange IS Public Client Logons</Label></StaticMember><StaticMember><Label>Average MSExchange IS Public Client Logons</Label></StaticMember><StaticMember><Label>Minimum MSExchange IS Mailbox Private Client Logons</Label></StaticMember><StaticMember><Label>Maximum MSExchange IS Mailbox Private Client Logons</Label></StaticMember><StaticMember><Label>Average MSExchange IS Mailbox Private Client Logons</Label></StaticMember></StaticSeries></SeriesGrouping></SeriesGroupings><CategoryGroupings><CategoryGrouping><DynamicCategories><Grouping Name="chart1_CategoryGroup1"><GroupExpressions><GroupExpression>=Fields!time.Value</GroupExpression></GroupExpressions></Grouping><Label>=Fields!time.Value</Label></DynamicCategories></CategoryGrouping></CategoryGroupings><ChartData><ChartSeries><DataPoints><DataPoint><DataValues><DataValue><Value>=Sum(Fields!Minimum___MSExchangeIS_Public_Client_Logons.Value)</Value></DataValue></DataValues><DataLabel /><Marker /></DataPoint></DataPoints></ChartSeries><ChartSeries><DataPoints><DataPoint><DataValues><DataValue><Value>=Sum(Fields!Maximum___MSExchangeIS_Public_Client_Logons.Value)</Value></DataValue></DataValues><DataLabel /><Marker /></DataPoint></DataPoints></ChartSeries><ChartSeries><DataPoints><DataPoint><DataValues><DataValue><Value>=Sum(Fields!Average___MSExchangeIS_Public_Client_Logons.Value)</Value></DataValue></DataValues><DataLabel /><Marker /></DataPoint></DataPoints></ChartSeries><ChartSeries><DataPoints><DataPoint><DataValues><DataValue><Value>=Sum(Fields!Minimum___MSExchangeIS_Mailbox_Private_Client_Logons.Value)</Value></DataValue></DataValues><DataLabel /><Marker /></DataPoint></DataPoints></ChartSeries><ChartSeries><DataPoints><DataPoint><DataValues><DataValue><Value>=Sum(Fields!Maximum___MSExchangeIS_Mailbox_Private_Client_Logons.Value)</Value></DataValue></DataValues><DataLabel /><Marker /></DataPoint></DataPoints></ChartSeries><ChartSeries><DataPoints><DataPoint><DataValues><DataValue><Value>=Sum(Fields!Average___MSExchangeIS_Mailbox_Private_Client_Logons.Value)</Value></DataValue></DataValues><DataLabel /><Marker /></DataPoint></DataPoints></ChartSeries></ChartData><Legend><Visible>true</Visible><Style><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize></Style><Position>TopCenter</Position></Legend><CategoryAxis><Axis><Visible>true</Visible><Style><Format>d</Format></Style><Title /><Margin>true</Margin><MajorTickMarks>Outside</MajorTickMarks><MajorGridLines><ShowGridLines>true</ShowGridLines><Style><BorderColor><Default>Silver</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle></Style></MajorGridLines><MinorGridLines><ShowGridLines>true</ShowGridLines><Style><BorderColor><Default>Silver</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BorderWidth><Default>0.75pt</Default></BorderWidth></Style></MinorGridLines><MajorInterval>1</MajorInterval><Scalar>true</Scalar><Min>0</Min></Axis></CategoryAxis><ValueAxis><Axis><Visible>true</Visible><Title /><Margin>true</Margin><MajorTickMarks>Outside</MajorTickMarks><MajorGridLines><ShowGridLines>true</ShowGridLines><Style><BorderStyle><Default>Solid</Default></BorderStyle></Style></MajorGridLines><MinorGridLines><ShowGridLines>true</ShowGridLines><Style><BorderColor><Default>Silver</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BorderWidth><Default>0.75pt</Default></BorderWidth></Style></MinorGridLines><Scalar>true</Scalar></Axis></ValueAxis><Title /><Palette>Default</Palette><ThreeDProperties><Rotation>30</Rotation><Inclination>30</Inclination><Shading>Simple</Shading><WallThickness>50</WallThickness></ThreeDProperties><PlotArea><Style><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor></Style></PlotArea></Chart></ReportItems><Style><BorderWidth><Default>0.5pt</Default></BorderWidth></Style><Height>11in</Height><ColumnSpacing>0.25in</ColumnSpacing></Body><TopMargin>1in</TopMargin><DataSources><DataSource Name="SCDW"><rd:DataSourceID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">fb44cba7-75a7-4314-b2a5-1fce44701d23</rd:DataSourceID><DataSourceReference>SCDW</DataSourceReference></DataSource></DataSources><Code>public function CurrentTimeZone() as string 
	CurrentTimeZone = System.TimeZone.CurrentTimeZone.StandardName
end function

public function FormatNumber(fieldValue, formatString) as string 
	if (fieldValue is Nothing)
		FormatNumber = "Not Available"
	else
		FormatNumber = Format(fieldValue,formatString)
	end if
end function

public function GetBeginDate(n as integer) as string 
     dim d as date
     d= dateadd(DateInterval.Day,n,now())
     GetBeginDate=d.tostring("d")
end function
public function GetEndDate(n as integer) as string 
     dim d as date
     d= dateadd(DateInterval.Day,n,now())
     GetEndDate=d.tostring("d")
end function
</Code><Width>11in</Width><DataSets><DataSet Name="ClientLogons"><Fields><Field Name="time"><DataField>Time</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="Server"><DataField>Server</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="Minimum___MSExchangeIS_Public_Client_Logons"><DataField>Minimum - MSExchangeIS Public-Client Logons</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="Maximum___MSExchangeIS_Public_Client_Logons"><DataField>Maximum - MSExchangeIS Public-Client Logons</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="Average___MSExchangeIS_Public_Client_Logons"><DataField>Average - MSExchangeIS Public-Client Logons</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="Minimum___MSExchangeIS_Mailbox_Private_Client_Logons"><DataField>Minimum - MSExchangeIS Mailbox/Private-Client Logons</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="Maximum___MSExchangeIS_Mailbox_Private_Client_Logons"><DataField>Maximum - MSExchangeIS Mailbox/Private-Client Logons</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="Average___MSExchangeIS_Mailbox_Private_Client_Logons"><DataField>Average - MSExchangeIS Mailbox/Private-Client Logons</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     [Time], Server, [Minimum - MSExchangeIS Public-Client Logons] = MIN([MSExchangeIS Public-Client Logons]), 
                      [Maximum - MSExchangeIS Public-Client Logons] = MAX([MSExchangeIS Public-Client Logons]), 
                      [Average - MSExchangeIS Public-Client Logons] = AVG([MSExchangeIS Public-Client Logons]), 
                      [Minimum - MSExchangeIS Mailbox/Private-Client Logons] = MIN([MSExchangeIS Mailbox/Private-Client Logons]), 
                      [Maximum - MSExchangeIS Mailbox/Private-Client Logons] = MAX([MSExchangeIS Mailbox/Private-Client Logons]), 
                      [Average - MSExchangeIS Mailbox/Private-Client Logons] = AVG([MSExchangeIS Mailbox/Private-Client Logons])
FROM         (SELECT     [Time] = DD.Date, Server = CD.FullComputerName, 
                                              [MSExchangeIS Public-Client Logons] = CASE WHEN (CDD.ObjectName_PK = 'MSExchangeIS Public') THEN SND.SampleValue END, 
                                              [MSExchangeIS Mailbox/Private-Client Logons] = CASE WHEN (CDD.ObjectName_PK IN ('MSExchangeIS Mailbox', 'MSExchangeIS Private'))
                                               THEN SND.SampleValue END
                       FROM          dbo.SC_SampledNumericDataFact_View SND INNER JOIN
                                              dbo.SC_CounterDetailDimension_View CDD ON CDD.SMC_InstanceID = SND.CounterDetail_FK INNER JOIN
                                              dbo.SC_ComputerDimension_View CD ON CD.SMC_InstanceID = SND.Computer_FK INNER JOIN
                                              dbo.SC_DateDimension_View DD ON DD.SMC_InstanceID = SND.LocalDateSampled_FK
                       WHERE      CDD.ObjectName_PK IN ('MSExchangeIS Public', 'MSExchangeIS Mailbox', 'MSExchangeIS Private') AND 
                                              CDD.CounterName_PK IN ('Client Logons') AND CDD.InstanceName_PK IN ('_Total') AND DD.Date BETWEEN @BeginDate AND 
                                              @EndDate AND CD.FullComputerName = @Computer) TEMP
GROUP BY Server, [Time]
ORDER BY Server, [Time]</CommandText><QueryParameters><QueryParameter Name="@BeginDate"><Value>=Parameters!BeginDate.Value</Value></QueryParameter><QueryParameter Name="@EndDate"><Value>=Parameters!EndDate.Value</Value></QueryParameter><QueryParameter Name="@Computer"><Value>=Parameters!Computer.Value</Value></QueryParameter></QueryParameters><Timeout>0</Timeout></Query></DataSet><DataSet Name="CurrentDate"><Fields><Field Name="BeginDate"><DataField>BeginDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="EndDate"><DataField>EndDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     BeginDate, EndDate
FROM         fn_GetDateRange(7) fn_GetDateRange</CommandText><Timeout>30000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet><DataSet Name="ComputerList"><Fields><Field Name="Computer"><DataField>Computer</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT DISTINCT SourceClassInstanceKeyValue AS Computer
FROM         [SC_Class_Rel_Computer-Exchange_View]
ORDER BY Computer</CommandText><Timeout>300000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet></DataSets><LeftMargin>1in</LeftMargin><rd:SnapToGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:SnapToGrid><rd:DrawGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:DrawGrid><Description /><PageWidth>13in</PageWidth><rd:ReportID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">212d782b-9718-4b8d-a1c1-2bd72afd7b82</rd:ReportID><PageFooter><ReportItems><Textbox Name="textboxPageNumber_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.2in</Top><Height>0.25in</Height><Value>="Page " &amp; Globals.PageNumber &amp; "/" &amp; Globals.TotalPages</Value><Left>4in</Left></Textbox><Textbox Name="textbox1DateTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><Top>0.2in</Top><Height>0.25in</Height><Width>4in</Width><Value>="All dates and  times shown in " &amp; Code.CurrentTimeZone()</Value></Textbox></ReportItems><PrintOnLastPage>true</PrintOnLastPage><PrintOnFirstPage>true</PrintOnFirstPage><Style /><Height>0.5in</Height></PageFooter><BottomMargin>1in</BottomMargin><ReportParameters><ReportParameter Name="Temp1"><DataType>String</DataType><DefaultValue><Values><Value>=Code.GetBeginDate(-7)</Value></Values></DefaultValue><AllowBlank>true</AllowBlank></ReportParameter><ReportParameter Name="Temp2"><DataType>String</DataType><DefaultValue><Values><Value>=code.GetEndDate(0)</Value></Values></DefaultValue><AllowBlank>true</AllowBlank></ReportParameter><ReportParameter Name="BeginDate"><DataType>String</DataType><DefaultValue><Values><Value>= Parameters!Temp1.Value</Value></Values></DefaultValue><Prompt>Begin Date</Prompt></ReportParameter><ReportParameter Name="EndDate"><DataType>String</DataType><DefaultValue><Values><Value>= Parameters!Temp2.Value</Value></Values></DefaultValue><Prompt>End Date</Prompt></ReportParameter><ReportParameter Name="Computer"><DataType>String</DataType><Prompt>Server</Prompt><ValidValues><DataSetReference><DataSetName>ComputerList</DataSetName><ValueField>Computer</ValueField><LabelField>Computer</LabelField></DataSetReference></ValidValues></ReportParameter></ReportParameters></Report>]]></ReportDefinition>
  </ReportItem>
  <ReportItem>
    <Name>Message Recipients Delivered per Minute by Day</Name>
    <Type>Report</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/Exchange Capacity Planning/Message Recipients Delivered per Minute by Day</Path>
    <ReportDefinition><![CDATA[<?xml version='1.0' encoding='utf-8'?><Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportdefinition"><rd:GridSpacing xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">0.05in</rd:GridSpacing><RightMargin>1in</RightMargin><Body><ReportItems><Textbox Name="textboxRightLogo"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/2Inch_Logo.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>6</ZIndex><Height>0.5625in</Height><Value /><Left>9in</Left></Textbox><Textbox Name="textboxReportTitle_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/9Inch_Banner.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>5</ZIndex><Height>0.5625in</Height><Width>9in</Width><CanGrow>true</CanGrow><Value>Message Recipients Delivered per Minute by Day</Value></Textbox><Textbox Name="textboxExecutionTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>4</ZIndex><Top>0.5625in</Top><Height>0.25in</Height><Value>=Globals.ExecutionTime</Value><Left>9in</Left></Textbox><Textbox Name="textboxParameterValue_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.375in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!Computer.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterValue_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.25in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!BeginDate.Value &amp; " - " &amp; Parameters!EndDate.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterName_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.375in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Server :</Value></Textbox><Textbox Name="textboxParameterName_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.25in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Date Range :</Value></Textbox><Textbox Name="textboxDescription_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>GhostWhite</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.8125in</Top><ToggleImage><InitialState>true</InitialState></ToggleImage><Height>0.375in</Height><Visibility><ToggleItem>textboxDescriptionHeading_tmp</ToggleItem><Hidden>true</Hidden></Visibility><CanGrow>true</CanGrow><Value>= "This report provides a graph of the message recipients delivered per minute for each specified server during the specified time period. The graph indicates the minimum, maximum, and average number of message recipients delivered per minute based on the MSExchangeIS Public - Message Recipients Delivered/min and MSExchangeIS Mailbox/Private - Message Recipients Delivered/min performance counters."  &amp; VbCrLf &amp;  "This report provides one graph for each specified server. 'Minimum - MSExchangeIS Public - Message Recipients Delivered/min', 'Maximum - MSExchangeIS Public - Message Recipients Delivered/min', and 'Average - MSExchangeIS Public - Message Recipients Delivered/min' are plotted on primary axis and counters 'Minimum - MSExchangeIS Mailbox/Private - Message Recipients Delivered/min', 'Maximum - MSExchangeIS Mailbox/Private - Message Recipients Delivered/min', and 'Average - MSExchangeIS Mailbox/Private - Message Recipients Delivered/min' are plotted on secondary y-axis"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "The following rules need to be enabled for data to be collected:"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "For Exchange 2000 Server:"  &amp; VbCrLf &amp;  "- 	Microsoft Exchange Server\Exchange 2000\Server Utilization Logging:Reports and views\Exchange Usage and Performance logging\"  &amp; VbCrLf &amp;  "- 	Mailbox Store: Message Recipients Delivered / minute"  &amp; VbCrLf &amp;  "- 	Public Folder Store: Message Recipients Delivered / minute"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "For Exchange Server 2003:"  &amp; VbCrLf &amp;  "- 	Microsoft Exchange Server\Exchange 2003\Performance Counter Logging Rules\Exchange Utilization and Performance\Mailbox Store Utilization\"  &amp; VbCrLf &amp;  "-		Mailbox Store: Message Recipients Delivered / minute"  &amp; VbCrLf &amp;  "- 	Microsoft Exchange Server\Exchange 2003\Performance Counter Logging Rules\Exchange Utilization and Performance\Public Folder Store Utilization\"  &amp; VbCrLf &amp;  "- 	Public Folder Store: Message Recipients Delivered / minute"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "" </Value></Textbox><Textbox Name="textboxDescriptionHeading_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><Top>0.5625in</Top><Height>0.25in</Height><Width>9in</Width><CanGrow>true</CanGrow><Value>Description</Value></Textbox><Chart Name="chart1"><Type>Line</Type><Subtype>Plain</Subtype><Style><BackgroundColor>White</BackgroundColor></Style><Top>1.75in</Top><Height>5in</Height><ZIndex>9</ZIndex><NoRows>= "There is no data available for this report. This can occur when there is no relevant data available for collection, the reports’ dependent rules are not enabled or when none of the relevant data has been copied to the Reporting database." </NoRows><DataSetName>MessageRecipients</DataSetName><SeriesGroupings><SeriesGrouping><DynamicSeries><Grouping Name="chart1_SeriesGroup1"><GroupExpressions><GroupExpression>=Fields!Server.Value</GroupExpression></GroupExpressions></Grouping><Label>=Fields!Server.Value</Label></DynamicSeries></SeriesGrouping><SeriesGrouping><StaticSeries><StaticMember><Label>Minimum MSExchange IS Public Message Recipients Delivered min</Label></StaticMember><StaticMember><Label>Maximum MSExchange IS Public Message Recipients Delivered min</Label></StaticMember><StaticMember><Label>Average MSExchange IS Public Message Recipients Delivered min</Label></StaticMember><StaticMember><Label>Minimum MSExchange IS Mailbox Private Message Recipients Delivered min</Label></StaticMember><StaticMember><Label>Maximum MSExchange IS Mailbox Private Message Recipients Delivered min</Label></StaticMember><StaticMember><Label>Average MSExchange IS Mailbox Private Message Recipients Delivered min</Label></StaticMember></StaticSeries></SeriesGrouping></SeriesGroupings><CategoryGroupings><CategoryGrouping><DynamicCategories><Grouping Name="chart1_CategoryGroup1"><GroupExpressions><GroupExpression>=Fields!time.Value</GroupExpression></GroupExpressions></Grouping><Label>=Fields!time.Value</Label></DynamicCategories></CategoryGrouping></CategoryGroupings><ChartData><ChartSeries><DataPoints><DataPoint><DataValues><DataValue><Value>=Sum(Fields!Minimum___MSExchangeIS_Public_Message_Recipients_Delivered_min.Value)</Value></DataValue></DataValues><DataLabel /><Marker /></DataPoint></DataPoints></ChartSeries><ChartSeries><DataPoints><DataPoint><DataValues><DataValue><Value>=Sum(Fields!Maximum___MSExchangeIS_Public_Message_Recipients_Delivered_min.Value)</Value></DataValue></DataValues><DataLabel /><Marker /></DataPoint></DataPoints></ChartSeries><ChartSeries><DataPoints><DataPoint><DataValues><DataValue><Value>=Sum(Fields!Average___MSExchangeIS_Public_Message_Recipients_Delivered_min.Value)</Value></DataValue></DataValues><DataLabel /><Marker /></DataPoint></DataPoints></ChartSeries><ChartSeries><DataPoints><DataPoint><DataValues><DataValue><Value>=Sum(Fields!Minimum___MSExchangeIS_Mailbox_Private_Message_Recipients_Delivered_min.Value)</Value></DataValue></DataValues><DataLabel /><Marker /></DataPoint></DataPoints></ChartSeries><ChartSeries><DataPoints><DataPoint><DataValues><DataValue><Value>=Sum(Fields!Maximum___MSExchangeIS_Mailbox_Private_Message_Recipients_Delivered_min.Value)</Value></DataValue></DataValues><DataLabel /><Marker /></DataPoint></DataPoints></ChartSeries><ChartSeries><DataPoints><DataPoint><DataValues><DataValue><Value>=Sum(Fields!Average___MSExchangeIS_Mailbox_Private_Message_Recipients_Delivered_min.Value)</Value></DataValue></DataValues><DataLabel /><Marker /></DataPoint></DataPoints></ChartSeries></ChartData><Legend><Visible>true</Visible><Style><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize></Style><Position>TopCenter</Position></Legend><CategoryAxis><Axis><Visible>true</Visible><Style><Format>d</Format></Style><Title /><Margin>true</Margin><MajorTickMarks>Outside</MajorTickMarks><MajorGridLines><ShowGridLines>true</ShowGridLines><Style><BorderColor><Default>Silver</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle></Style></MajorGridLines><MinorGridLines><ShowGridLines>true</ShowGridLines><Style><BorderColor><Default>Silver</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BorderWidth><Default>0.75pt</Default></BorderWidth></Style></MinorGridLines><MajorInterval>1</MajorInterval><Scalar>true</Scalar><Min>0</Min></Axis></CategoryAxis><ValueAxis><Axis><Visible>true</Visible><Title /><Margin>true</Margin><MajorTickMarks>Outside</MajorTickMarks><MajorGridLines><ShowGridLines>true</ShowGridLines><Style><BorderStyle><Default>Solid</Default></BorderStyle></Style></MajorGridLines><MinorGridLines><ShowGridLines>true</ShowGridLines><Style><BorderColor><Default>Silver</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BorderWidth><Default>0.75pt</Default></BorderWidth></Style></MinorGridLines><Scalar>true</Scalar></Axis></ValueAxis><Title /><Palette>Default</Palette><ThreeDProperties><Rotation>30</Rotation><Inclination>30</Inclination><Shading>Simple</Shading><WallThickness>50</WallThickness></ThreeDProperties><PlotArea><Style><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor></Style></PlotArea></Chart></ReportItems><Style><BorderWidth><Default>0.5pt</Default></BorderWidth></Style><Height>11in</Height><ColumnSpacing>0.25in</ColumnSpacing></Body><TopMargin>1in</TopMargin><DataSources><DataSource Name="SCDW"><rd:DataSourceID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">fb44cba7-75a7-4314-b2a5-1fce44701d23</rd:DataSourceID><DataSourceReference>SCDW</DataSourceReference></DataSource></DataSources><Code>public function CurrentTimeZone() as string 
	CurrentTimeZone = System.TimeZone.CurrentTimeZone.StandardName
end function

public function FormatNumber(fieldValue, formatString) as string 
	if (fieldValue is Nothing)
		FormatNumber = "Not Available"
	else
		FormatNumber = Format(fieldValue,formatString)
	end if
end function

public function GetBeginDate(n as integer) as string 
     dim d as date
     d= dateadd(DateInterval.Day,n,now())
     GetBeginDate=d.tostring("d")
end function
public function GetEndDate(n as integer) as string 
     dim d as date
     d= dateadd(DateInterval.Day,n,now())
     GetEndDate=d.tostring("d")
end function
</Code><Width>11in</Width><DataSets><DataSet Name="MessageRecipients"><Fields><Field Name="time"><DataField>Time</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="Server"><DataField>Server</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="Minimum___MSExchangeIS_Public_Message_Recipients_Delivered_min"><DataField>Minimum - MSExchangeIS Public-Message Recipients Delivered/min</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="Maximum___MSExchangeIS_Public_Message_Recipients_Delivered_min"><DataField>Maximum - MSExchangeIS Public-Message Recipients Delivered/min</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="Average___MSExchangeIS_Public_Message_Recipients_Delivered_min"><DataField>Average - MSExchangeIS Public-Message Recipients Delivered/min</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="Minimum___MSExchangeIS_Mailbox_Private_Message_Recipients_Delivered_min"><DataField>Minimum - MSExchangeIS Mailbox/Private-Message Recipients Delivered/min</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="Maximum___MSExchangeIS_Mailbox_Private_Message_Recipients_Delivered_min"><DataField>Maximum - MSExchangeIS Mailbox/Private-Message Recipients Delivered/min</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="Average___MSExchangeIS_Mailbox_Private_Message_Recipients_Delivered_min"><DataField>Average - MSExchangeIS Mailbox/Private-Message Recipients Delivered/min</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     [Time], Server, 
                      [Minimum - MSExchangeIS Public-Message Recipients Delivered/min] = MIN([MSExchangeIS Public-Message Recipients Delivered/min]), 
                      [Maximum - MSExchangeIS Public-Message Recipients Delivered/min] = MAX([MSExchangeIS Public-Message Recipients Delivered/min]), 
                      [Average - MSExchangeIS Public-Message Recipients Delivered/min] = AVG([MSExchangeIS Public-Message Recipients Delivered/min]), 
                      [Minimum - MSExchangeIS Mailbox/Private-Message Recipients Delivered/min] = MIN([MSExchangeIS Mailbox/Private-Message Recipients Delivered/min]),
                       [Maximum - MSExchangeIS Mailbox/Private-Message Recipients Delivered/min] = MAX([MSExchangeIS Mailbox/Private-Message Recipients Delivered/min]),
                       [Average - MSExchangeIS Mailbox/Private-Message Recipients Delivered/min] = AVG([MSExchangeIS Mailbox/Private-Message Recipients Delivered/min])
FROM         (SELECT     [Time] = DD.Date, Server = CD.FullComputerName, 
                                              [MSExchangeIS Public-Message Recipients Delivered/min] = CASE WHEN (CDD.ObjectName_PK = 'MSExchangeIS Public') 
                                              THEN SND.SampleValue END, 
                                              [MSExchangeIS Mailbox/Private-Message Recipients Delivered/min] = CASE WHEN (CDD.ObjectName_PK IN ('MSExchangeIS Mailbox', 
                                              'MSExchangeIS Private')) THEN SND.SampleValue END
                       FROM          dbo.SC_SampledNumericDataFact_View SND INNER JOIN
                                              dbo.SC_CounterDetailDimension_View CDD ON CDD.SMC_InstanceID = SND.CounterDetail_FK INNER JOIN
                                              dbo.SC_ComputerDimension_View CD ON CD.SMC_InstanceID = SND.Computer_FK INNER JOIN
                                              dbo.SC_DateDimension_View DD ON DD.SMC_InstanceID = SND.LocalDateSampled_FK
                       WHERE      CDD.ObjectName_PK IN ('MSExchangeIS Public', 'MSExchangeIS Mailbox', 'MSExchangeIS Private') AND 
                                              CDD.CounterName_PK IN ('Message Recipients Delivered/min') AND CDD.InstanceName_PK IN ('_Total') AND 
                                              SND.LocalDateTimeSampled BETWEEN @BeginDate AND @EndDate AND (@Computer = '&lt;ALL&gt;' OR
                                              CD.FullComputerName = @Computer)) TEMP
GROUP BY Server, [Time]
ORDER BY Server, [Time]</CommandText><QueryParameters><QueryParameter Name="@BeginDate"><Value>=Parameters!BeginDate.Value</Value></QueryParameter><QueryParameter Name="@EndDate"><Value>=Parameters!EndDate.Value</Value></QueryParameter><QueryParameter Name="@Computer"><Value>=Parameters!Computer.Value</Value></QueryParameter></QueryParameters><Timeout>0</Timeout></Query></DataSet><DataSet Name="CurrentDate"><Fields><Field Name="BeginDate"><DataField>BeginDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="EndDate"><DataField>EndDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     BeginDate, EndDate
FROM         fn_GetDateRange(7) fn_GetDateRange</CommandText><Timeout>30000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet><DataSet Name="ComputerList"><Fields><Field Name="Computer"><DataField>Computer</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT DISTINCT SourceClassInstanceKeyValue AS Computer
FROM         [SC_Class_Rel_Computer-Exchange_View]
ORDER BY Computer</CommandText><Timeout>300000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet></DataSets><LeftMargin>1in</LeftMargin><rd:SnapToGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:SnapToGrid><rd:DrawGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:DrawGrid><Description /><PageWidth>13in</PageWidth><rd:ReportID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">212d782b-9718-4b8d-a1c1-2bd72afd7b82</rd:ReportID><PageFooter><ReportItems><Textbox Name="textboxPageNumber_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.2in</Top><Height>0.25in</Height><Value>="Page " &amp; Globals.PageNumber &amp; "/" &amp; Globals.TotalPages</Value><Left>4in</Left></Textbox><Textbox Name="textbox1DateTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><Top>0.2in</Top><Height>0.25in</Height><Width>4in</Width><Value>="All dates and  times shown in " &amp; Code.CurrentTimeZone()</Value></Textbox></ReportItems><PrintOnLastPage>true</PrintOnLastPage><PrintOnFirstPage>true</PrintOnFirstPage><Style /><Height>0.5in</Height></PageFooter><BottomMargin>1in</BottomMargin><ReportParameters><ReportParameter Name="Temp1"><DataType>String</DataType><DefaultValue><Values><Value>=Code.GetBeginDate(-7)</Value></Values></DefaultValue><AllowBlank>true</AllowBlank></ReportParameter><ReportParameter Name="Temp2"><DataType>String</DataType><DefaultValue><Values><Value>=Code.GetEndDate(0)</Value></Values></DefaultValue><AllowBlank>true</AllowBlank></ReportParameter><ReportParameter Name="BeginDate"><DataType>String</DataType><DefaultValue><Values><Value>= Parameters!Temp1.Value</Value></Values></DefaultValue><Prompt>Begin Date</Prompt></ReportParameter><ReportParameter Name="EndDate"><DataType>String</DataType><DefaultValue><Values><Value>= Parameters!Temp2.Value</Value></Values></DefaultValue><Prompt>End Date</Prompt></ReportParameter><ReportParameter Name="Computer"><DataType>String</DataType><Prompt>Server</Prompt><ValidValues><DataSetReference><DataSetName>ComputerList</DataSetName><ValueField>Computer</ValueField><LabelField>Computer</LabelField></DataSetReference></ValidValues></ReportParameter></ReportParameters></Report>]]></ReportDefinition>
  </ReportItem>
  <ReportItem>
    <Name>Messages Sent per Minute by Day</Name>
    <Type>Report</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/Exchange Capacity Planning/Messages Sent per Minute by Day</Path>
    <ReportDefinition><![CDATA[<?xml version='1.0' encoding='utf-8'?><Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportdefinition"><rd:GridSpacing xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">0.05in</rd:GridSpacing><RightMargin>1in</RightMargin><Body><ReportItems><Textbox Name="textboxRightLogo"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/2Inch_Logo.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>6</ZIndex><Height>0.5625in</Height><Value /><Left>9in</Left></Textbox><Textbox Name="textboxReportTitle_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/9Inch_Banner.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>5</ZIndex><Height>0.5625in</Height><Width>9in</Width><CanGrow>true</CanGrow><Value>Messages Sent per Minute by Day</Value></Textbox><Textbox Name="textboxExecutionTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>4</ZIndex><Top>0.5625in</Top><Height>0.25in</Height><Value>=Globals.ExecutionTime</Value><Left>9in</Left></Textbox><Textbox Name="textboxParameterValue_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.375in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!Computer.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterValue_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.25in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!BeginDate.Value &amp; " - " &amp; Parameters!EndDate.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterName_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.375in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Server :</Value></Textbox><Textbox Name="textboxParameterName_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.25in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Date Range :</Value></Textbox><Textbox Name="textboxDescription_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>GhostWhite</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.8125in</Top><ToggleImage><InitialState>true</InitialState></ToggleImage><Height>0.375in</Height><Visibility><ToggleItem>textboxDescriptionHeading_tmp</ToggleItem><Hidden>true</Hidden></Visibility><CanGrow>true</CanGrow><Value>= "This report provides a graph of the messages sent per minute for each specified server during the specified time period. The graph indicates the minimum, maximum, and average number of messages sent per minute based on the MSExchangeIS Public - Messages Sent/min and MSExchangeIS Mailbox/Private - Messages Sent/min performance counters."  &amp; VbCrLf &amp;  "This report provides one graph for each specified server. 'Minimum - MSExchangeIS Public - Messages Sent/min', 'Maximum - MSExchangeIS Public - Messages Sent/min', and 'Average - MSExchangeIS Public - Messages Sent/min' are plotted on primary axis and counters 'Minimum - MSExchangeIS Mailbox/Private - Messages Sent/min', 'Maximum - MSExchangeIS Mailbox/Private - Messages Sent/min', and 'Average - MSExchangeIS Mailbox/Private - Messages Sent/min' are plotted on secondary y-axis."  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "The following rules need to be enabled for data to be collected:"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "For Exchange 2000 Server:"  &amp; VbCrLf &amp;  "- 	Microsoft Exchange Server\Exchange 2000\Server Utilization Logging:Reports and views\Exchange Usage and Performance logging\"  &amp; VbCrLf &amp;  "- 	Mailbox Store: Messages Sent / minute"  &amp; VbCrLf &amp;  "- 	Public Folder Store: Messages Sent / minute"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "For Exchange Server 2003:"  &amp; VbCrLf &amp;  "- 	Microsoft Exchange Server\Exchange 2003\Performance Counter Logging Rules\Exchange Utilization and Performance\Mailbox Store Utilization\"  &amp; VbCrLf &amp;  "- 	Mailbox Store: Messages Sent / minute"  &amp; VbCrLf &amp;  "- 	Microsoft Exchange Server\Exchange 2003\Performance Counter Logging Rules\Exchange Utilization and Performance\Public Folder Store Utilization\"  &amp; VbCrLf &amp;  "- 	Public Folder Store: Messages Sent / minute"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "" </Value></Textbox><Textbox Name="textboxDescriptionHeading_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><Top>0.5625in</Top><Height>0.25in</Height><Width>9in</Width><CanGrow>true</CanGrow><Value>Description</Value></Textbox><Chart Name="chart1"><Type>Line</Type><Subtype>Plain</Subtype><Style><BackgroundColor>White</BackgroundColor></Style><Top>1.75in</Top><Height>5in</Height><ZIndex>9</ZIndex><NoRows>= "There is no data available for this report. This can occur when there is no relevant data available for collection, the reports’ dependent rules are not enabled or when none of the relevant data has been copied to the Reporting database." </NoRows><DataSetName>MessageSent</DataSetName><SeriesGroupings><SeriesGrouping><DynamicSeries><Grouping Name="chart1_SeriesGroup1"><GroupExpressions><GroupExpression>=Fields!Server.Value</GroupExpression></GroupExpressions></Grouping><Label>=Fields!Server.Value</Label></DynamicSeries></SeriesGrouping><SeriesGrouping><StaticSeries><StaticMember><Label>Minimum MSExchange IS Public Messages Sent min</Label></StaticMember><StaticMember><Label>Maximum MSExchange IS Public Messages Sent min</Label></StaticMember><StaticMember><Label>Average MSExchange IS Public Messages Sent min</Label></StaticMember><StaticMember><Label>Minimum MSExchange IS Mailbox Private Messages Sent min</Label></StaticMember><StaticMember><Label>Maximum MSExchange IS Mailbox Private Messages Sent min</Label></StaticMember><StaticMember><Label>Average MSExchange IS Mailbox Private Messages Sent min</Label></StaticMember></StaticSeries></SeriesGrouping></SeriesGroupings><CategoryGroupings><CategoryGrouping><DynamicCategories><Grouping Name="chart1_CategoryGroup1"><GroupExpressions><GroupExpression>=Fields!time.Value</GroupExpression></GroupExpressions></Grouping><Label>=Fields!time.Value</Label></DynamicCategories></CategoryGrouping></CategoryGroupings><ChartData><ChartSeries><DataPoints><DataPoint><DataValues><DataValue><Value>=Sum(Fields!Minimum___MSExchangeIS_Public_Messages_Sent_min.Value)</Value></DataValue></DataValues><DataLabel /><Marker /></DataPoint></DataPoints></ChartSeries><ChartSeries><DataPoints><DataPoint><DataValues><DataValue><Value>=Sum(Fields!Maximum___MSExchangeIS_Public_Messages_Sent_min.Value)</Value></DataValue></DataValues><DataLabel /><Marker /></DataPoint></DataPoints></ChartSeries><ChartSeries><DataPoints><DataPoint><DataValues><DataValue><Value>=Sum(Fields!Average___MSExchangeIS_Public_Messages_Sent_min.Value)</Value></DataValue></DataValues><DataLabel /><Marker /></DataPoint></DataPoints></ChartSeries><ChartSeries><DataPoints><DataPoint><DataValues><DataValue><Value>=Sum(Fields!Minimum___MSExchangeIS_Mailbox_Private_Messages_Sent_min.Value)</Value></DataValue></DataValues><DataLabel /><Marker /></DataPoint></DataPoints></ChartSeries><ChartSeries><DataPoints><DataPoint><DataValues><DataValue><Value>=Sum(Fields!Maximum___MSExchangeIS_Mailbox_Private_Messages_Sent_min.Value)</Value></DataValue></DataValues><DataLabel /><Marker /></DataPoint></DataPoints></ChartSeries><ChartSeries><DataPoints><DataPoint><DataValues><DataValue><Value>=Sum(Fields!Average___MSExchangeIS_Mailbox_Private_Messages_Sent_min.Value)</Value></DataValue></DataValues><DataLabel /><Marker /></DataPoint></DataPoints></ChartSeries></ChartData><Legend><Visible>true</Visible><Style><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize></Style><Position>TopCenter</Position></Legend><CategoryAxis><Axis><Visible>true</Visible><Style><Format>d</Format></Style><Title /><Margin>true</Margin><MajorTickMarks>Outside</MajorTickMarks><MajorGridLines><ShowGridLines>true</ShowGridLines><Style><BorderColor><Default>Silver</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle></Style></MajorGridLines><MinorGridLines><ShowGridLines>true</ShowGridLines><Style><BorderColor><Default>Silver</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BorderWidth><Default>0.75pt</Default></BorderWidth></Style></MinorGridLines><MajorInterval>1</MajorInterval><Scalar>true</Scalar><Min>0</Min></Axis></CategoryAxis><ValueAxis><Axis><Visible>true</Visible><Title /><Margin>true</Margin><MajorTickMarks>Outside</MajorTickMarks><MajorGridLines><ShowGridLines>true</ShowGridLines><Style><BorderStyle><Default>Solid</Default></BorderStyle></Style></MajorGridLines><MinorGridLines><ShowGridLines>true</ShowGridLines><Style><BorderColor><Default>Silver</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BorderWidth><Default>0.75pt</Default></BorderWidth></Style></MinorGridLines><Scalar>true</Scalar></Axis></ValueAxis><Title /><Palette>Default</Palette><ThreeDProperties><Rotation>30</Rotation><Inclination>30</Inclination><Shading>Simple</Shading><WallThickness>50</WallThickness></ThreeDProperties><PlotArea><Style><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor></Style></PlotArea></Chart></ReportItems><Style><BorderWidth><Default>0.5pt</Default></BorderWidth></Style><Height>11in</Height><ColumnSpacing>0.25in</ColumnSpacing></Body><TopMargin>1in</TopMargin><DataSources><DataSource Name="SCDW"><rd:DataSourceID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">fb44cba7-75a7-4314-b2a5-1fce44701d23</rd:DataSourceID><DataSourceReference>SCDW</DataSourceReference></DataSource></DataSources><Code>public function CurrentTimeZone() as string 
	CurrentTimeZone = System.TimeZone.CurrentTimeZone.StandardName
end function

public function FormatNumber(fieldValue, formatString) as string 
	if (fieldValue is Nothing)
		FormatNumber = "Not Available"
	else
		FormatNumber = Format(fieldValue,formatString)
	end if
end function

public function GetBeginDate(n as integer) as string 
     dim d as date
     d= dateadd(DateInterval.Day,n,now())
     GetBeginDate=d.tostring("d")
end function
public function GetEndDate(n as integer) as string 
     dim d as date
     d= dateadd(DateInterval.Day,n,now())
     GetEndDate=d.tostring("d")
end function
</Code><Width>11in</Width><DataSets><DataSet Name="MessageSent"><Fields><Field Name="time"><DataField>Time</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="Server"><DataField>Server</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="Minimum___MSExchangeIS_Public_Messages_Sent_min"><DataField>Minimum - MSExchangeIS Public-Messages Sent/min</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="Maximum___MSExchangeIS_Public_Messages_Sent_min"><DataField>Maximum - MSExchangeIS Public-Messages Sent/min</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="Average___MSExchangeIS_Public_Messages_Sent_min"><DataField>Average - MSExchangeIS Public-Messages Sent/min</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="Minimum___MSExchangeIS_Mailbox_Private_Messages_Sent_min"><DataField>Minimum - MSExchangeIS Mailbox/Private-Messages Sent/min</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="Maximum___MSExchangeIS_Mailbox_Private_Messages_Sent_min"><DataField>Maximum - MSExchangeIS Mailbox/Private-Messages Sent/min</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="Average___MSExchangeIS_Mailbox_Private_Messages_Sent_min"><DataField>Average - MSExchangeIS Mailbox/Private-Messages Sent/min</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     [Time], Server, [Minimum - MSExchangeIS Public-Messages Sent/min] = MIN([MSExchangeIS Public-Messages Sent/min]), 
                      [Maximum - MSExchangeIS Public-Messages Sent/min] = MAX([MSExchangeIS Public-Messages Sent/min]), 
                      [Average - MSExchangeIS Public-Messages Sent/min] = AVG([MSExchangeIS Public-Messages Sent/min]), 
                      [Minimum - MSExchangeIS Mailbox/Private-Messages Sent/min] = MIN([MSExchangeIS Mailbox/Private-Messages Sent/min]), 
                      [Maximum - MSExchangeIS Mailbox/Private-Messages Sent/min] = MAX([MSExchangeIS Mailbox/Private-Messages Sent/min]), 
                      [Average - MSExchangeIS Mailbox/Private-Messages Sent/min] = AVG([MSExchangeIS Mailbox/Private-Messages Sent/min])
FROM         (SELECT     [Time] = DD.Date, Server = CD.FullComputerName, 
                                              [MSExchangeIS Public-Messages Sent/min] = CASE WHEN (CDD.ObjectName_PK = 'MSExchangeIS Public') THEN SND.SampleValue END, 
                                              [MSExchangeIS Mailbox/Private-Messages Sent/min] = CASE WHEN (CDD.ObjectName_PK IN ('MSExchangeIS Mailbox', 
                                              'MSExchangeIS Private')) THEN SND.SampleValue END
                       FROM          dbo.SC_SampledNumericDataFact_View SND INNER JOIN
                                              dbo.SC_CounterDetailDimension_View CDD ON CDD.SMC_InstanceID = SND.CounterDetail_FK INNER JOIN
                                              dbo.SC_ComputerDimension_View CD ON CD.SMC_InstanceID = SND.Computer_FK INNER JOIN
                                              dbo.SC_DateDimension_View DD ON DD.SMC_InstanceID = SND.LocalDateSampled_FK
                       WHERE      CDD.ObjectName_PK IN ('MSExchangeIS Public', 'MSExchangeIS Mailbox', 'MSExchangeIS Private') AND 
                                              CDD.CounterName_PK IN ('Messages Sent/min') AND CDD.InstanceName_PK IN ('_Total') AND SND.LocalDateTimeSampled BETWEEN 
                                              @BeginDate AND @EndDate AND (@Computer = '&lt;ALL&gt;' OR
                                              CD.FullComputerName = @Computer)) TEMP
GROUP BY Server, [Time]
ORDER BY Server, [Time]</CommandText><QueryParameters><QueryParameter Name="@BeginDate"><Value>=Parameters!BeginDate.Value</Value></QueryParameter><QueryParameter Name="@EndDate"><Value>=Parameters!EndDate.Value</Value></QueryParameter><QueryParameter Name="@Computer"><Value>=Parameters!Computer.Value</Value></QueryParameter></QueryParameters><Timeout>0</Timeout></Query></DataSet><DataSet Name="CurrentDate"><Fields><Field Name="BeginDate"><DataField>BeginDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="EndDate"><DataField>EndDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     BeginDate, EndDate
FROM         fn_GetDateRange(7) fn_GetDateRange</CommandText><Timeout>30000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet><DataSet Name="ComputerList"><Fields><Field Name="Computer"><DataField>Computer</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT DISTINCT SourceClassInstanceKeyValue AS Computer
FROM         [SC_Class_Rel_Computer-Exchange_View]
ORDER BY Computer</CommandText><Timeout>300000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet></DataSets><LeftMargin>1in</LeftMargin><rd:SnapToGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:SnapToGrid><rd:DrawGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:DrawGrid><Description /><PageWidth>13in</PageWidth><rd:ReportID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">212d782b-9718-4b8d-a1c1-2bd72afd7b82</rd:ReportID><PageFooter><ReportItems><Textbox Name="textboxPageNumber_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.2in</Top><Height>0.25in</Height><Value>="Page " &amp; Globals.PageNumber &amp; "/" &amp; Globals.TotalPages</Value><Left>4in</Left></Textbox><Textbox Name="textbox1DateTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><Top>0.2in</Top><Height>0.25in</Height><Width>4in</Width><Value>="All dates and  times shown in " &amp; Code.CurrentTimeZone()</Value></Textbox></ReportItems><PrintOnLastPage>true</PrintOnLastPage><PrintOnFirstPage>true</PrintOnFirstPage><Style /><Height>0.5in</Height></PageFooter><BottomMargin>1in</BottomMargin><ReportParameters><ReportParameter Name="Temp1"><DataType>String</DataType><DefaultValue><Values><Value>=Code.GetBeginDate(-7)</Value></Values></DefaultValue><AllowBlank>true</AllowBlank></ReportParameter><ReportParameter Name="Temp2"><DataType>String</DataType><DefaultValue><Values><Value>=Code.GetEndDate(0)</Value></Values></DefaultValue><AllowBlank>true</AllowBlank></ReportParameter><ReportParameter Name="BeginDate"><DataType>String</DataType><DefaultValue><Values><Value>= Parameters!Temp1.Value</Value></Values></DefaultValue><Prompt>Begin Date</Prompt></ReportParameter><ReportParameter Name="EndDate"><DataType>String</DataType><DefaultValue><Values><Value>= Parameters!Temp2.Value</Value></Values></DefaultValue><Prompt>End Date</Prompt></ReportParameter><ReportParameter Name="Computer"><DataType>String</DataType><Prompt>Server</Prompt><ValidValues><DataSetReference><DataSetName>ComputerList</DataSetName><ValueField>Computer</ValueField><LabelField>Computer</LabelField></DataSetReference></ValidValues></ReportParameter></ReportParameters></Report>]]></ReportDefinition>
  </ReportItem>
  <ReportItem>
    <Name>MTA Messages per Second by Day</Name>
    <Type>Report</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/Exchange Capacity Planning/MTA Messages per Second by Day</Path>
    <ReportDefinition><![CDATA[<?xml version='1.0' encoding='utf-8'?><Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportdefinition"><rd:GridSpacing xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">0.05in</rd:GridSpacing><RightMargin>1in</RightMargin><Body><ReportItems><Textbox Name="textboxRightLogo"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/2Inch_Logo.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>6</ZIndex><Height>0.5625in</Height><Value /><Left>9in</Left></Textbox><Textbox Name="textboxReportTitle_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/9Inch_Banner.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>5</ZIndex><Height>0.5625in</Height><Width>9in</Width><CanGrow>true</CanGrow><Value>MTA Messages per Second by Day</Value></Textbox><Textbox Name="textboxExecutionTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>4</ZIndex><Top>0.5625in</Top><Height>0.25in</Height><Value>=Globals.ExecutionTime</Value><Left>9in</Left></Textbox><Textbox Name="textboxParameterValue_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.375in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!Computer.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterValue_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.25in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!BeginDate.Value &amp; " - " &amp; Parameters!EndDate.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterName_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.375in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Server :</Value></Textbox><Textbox Name="textboxParameterName_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.25in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Date Range :</Value></Textbox><Textbox Name="textboxDescription_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>GhostWhite</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.8125in</Top><ToggleImage><InitialState>true</InitialState></ToggleImage><Height>0.375in</Height><Visibility><ToggleItem>textboxDescriptionHeading_tmp</ToggleItem><Hidden>true</Hidden></Visibility><CanGrow>true</CanGrow><Value>= "This report provides a graph of the MTA messages per second for each specified server during the specified time period. The graph indicates the minimum, maximum, and average number of MTA messages per second based on the MSExchangeMTA-Messages/Sec performance counter. This report provides one graph for each specified server."  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "The following rules need to be enabled for data to be collected:"  &amp; VbCrLf &amp;  "For Exchange 2000 Server:"  &amp; VbCrLf &amp;  "- 	Microsoft Exchange Server\Exchange 2000\Server Utilization Logging:Reports and views\Exchange Usage and Performance logging\"  &amp; VbCrLf &amp;  "- 	Message Transfer Agent (MTA): Messages Processed / second"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "For Exchange Server 2003:"  &amp; VbCrLf &amp;  "- 	Microsoft Exchange Server\Exchange 2003\Performance Counter Logging Rules\Exchange Utilization and Performance\Message Transfer Agent Utilization\"  &amp; VbCrLf &amp;  "- 	Message Transfer Agent (MTA): Messages Processed / second"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "" </Value></Textbox><Textbox Name="textboxDescriptionHeading_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><Top>0.5625in</Top><Height>0.25in</Height><Width>9in</Width><CanGrow>true</CanGrow><Value>Description</Value></Textbox><Chart Name="chart1"><Type>Line</Type><Subtype>Plain</Subtype><Style><BackgroundColor>White</BackgroundColor></Style><Top>1.75in</Top><Height>5in</Height><ZIndex>9</ZIndex><NoRows>= "There is no data available for this report. This can occur when there is no relevant data available for collection, the reports’ dependent rules are not enabled or when none of the relevant data has been copied to the Reporting database." </NoRows><DataSetName>MTAMessages</DataSetName><SeriesGroupings><SeriesGrouping><DynamicSeries><Grouping Name="chart1_SeriesGroup1"><GroupExpressions><GroupExpression>=Fields!Server.Value</GroupExpression></GroupExpressions></Grouping><Label>=Fields!Server.Value</Label></DynamicSeries></SeriesGrouping><SeriesGrouping><StaticSeries><StaticMember><Label>Minimum</Label></StaticMember><StaticMember><Label>Maximum</Label></StaticMember><StaticMember><Label>Average</Label></StaticMember></StaticSeries></SeriesGrouping></SeriesGroupings><CategoryGroupings><CategoryGrouping><DynamicCategories><Grouping Name="chart1_CategoryGroup1"><GroupExpressions><GroupExpression>=Fields!time.Value</GroupExpression></GroupExpressions></Grouping><Label>=Fields!time.Value</Label></DynamicCategories></CategoryGrouping></CategoryGroupings><ChartData><ChartSeries><DataPoints><DataPoint><DataValues><DataValue><Value>=Sum(Fields!Minimum.Value)</Value></DataValue></DataValues><DataLabel /><Marker /></DataPoint></DataPoints></ChartSeries><ChartSeries><DataPoints><DataPoint><DataValues><DataValue><Value>=Sum(Fields!Maximum.Value)</Value></DataValue></DataValues><DataLabel /><Marker /></DataPoint></DataPoints></ChartSeries><ChartSeries><DataPoints><DataPoint><DataValues><DataValue><Value>=Sum(Fields!Average.Value)</Value></DataValue></DataValues><DataLabel /><Marker /></DataPoint></DataPoints></ChartSeries></ChartData><Legend><Visible>true</Visible><Style><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize></Style><Position>TopCenter</Position></Legend><CategoryAxis><Axis><Visible>true</Visible><Style><Format>d</Format></Style><Title /><Margin>true</Margin><MajorTickMarks>Outside</MajorTickMarks><MajorGridLines><ShowGridLines>true</ShowGridLines><Style><BorderColor><Default>Silver</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle></Style></MajorGridLines><MinorGridLines><ShowGridLines>true</ShowGridLines><Style><BorderColor><Default>Silver</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BorderWidth><Default>0.75pt</Default></BorderWidth></Style></MinorGridLines><MajorInterval>1</MajorInterval><Scalar>true</Scalar><Min>0</Min></Axis></CategoryAxis><ValueAxis><Axis><Visible>true</Visible><Title /><Margin>true</Margin><MajorTickMarks>Outside</MajorTickMarks><MajorGridLines><ShowGridLines>true</ShowGridLines><Style><BorderStyle><Default>Solid</Default></BorderStyle></Style></MajorGridLines><MinorGridLines><ShowGridLines>true</ShowGridLines><Style><BorderColor><Default>Silver</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BorderWidth><Default>0.75pt</Default></BorderWidth></Style></MinorGridLines><Scalar>true</Scalar></Axis></ValueAxis><Title /><Palette>Default</Palette><ThreeDProperties><Rotation>30</Rotation><Inclination>30</Inclination><Shading>Simple</Shading><WallThickness>50</WallThickness></ThreeDProperties><PlotArea><Style><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor></Style></PlotArea></Chart></ReportItems><Style><BorderWidth><Default>0.5pt</Default></BorderWidth></Style><Height>11in</Height><ColumnSpacing>0.25in</ColumnSpacing></Body><TopMargin>1in</TopMargin><DataSources><DataSource Name="SCDW"><rd:DataSourceID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">fb44cba7-75a7-4314-b2a5-1fce44701d23</rd:DataSourceID><DataSourceReference>SCDW</DataSourceReference></DataSource></DataSources><Code>public function CurrentTimeZone() as string 
	CurrentTimeZone = System.TimeZone.CurrentTimeZone.StandardName
end function

public function FormatNumber(fieldValue, formatString) as string 
	if (fieldValue is Nothing)
		FormatNumber = "Not Available"
	else
		FormatNumber = Format(fieldValue,formatString)
	end if
end function

public function GetBeginDate(n as integer) as string 
     dim d as date
     d= dateadd(DateInterval.Day,n,now())
     GetBeginDate=d.tostring("d")
end function
public function GetEndDate(n as integer) as string 
     dim d as date
     d= dateadd(DateInterval.Day,n,now())
     GetEndDate=d.tostring("d")
end function
</Code><Width>11in</Width><DataSets><DataSet Name="MTAMessages"><Fields><Field Name="time"><DataField>Time</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="Server"><DataField>Server</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="Minimum"><DataField>Minimum</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="Maximum"><DataField>Maximum</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="Average"><DataField>Average</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     [Time], Server, [Minimum] = MIN([Value]), [Maximum] = MAX([Value]), [Average] = AVG([Value])
FROM         (SELECT     [Time] = DD.Date, Server = CD.FullComputerName, [Value] = SND.SampleValue
                       FROM          dbo.SC_SampledNumericDataFact_View SND INNER JOIN
                                              dbo.SC_CounterDetailDimension_View CDD ON CDD.SMC_InstanceID = SND.CounterDetail_FK INNER JOIN
                                              dbo.SC_ComputerDimension_View CD ON CD.SMC_InstanceID = SND.Computer_FK INNER JOIN
                                              dbo.SC_DateDimension_View DD ON DD.SMC_InstanceID = SND.LocalDateSampled_FK
                       WHERE      CDD.ObjectName_PK IN ('MSExchangeMTA') AND CDD.CounterName_PK IN ('Messages/Sec') AND SND.LocalDateTimeSampled BETWEEN 
                                              @BeginDate AND @EndDate AND (@Computer = '&lt;ALL&gt;' OR
                                              CD.FullComputerName = @Computer)) TEMP
GROUP BY Server, [Time]
ORDER BY Server, [Time]</CommandText><QueryParameters><QueryParameter Name="@BeginDate"><Value>=Parameters!BeginDate.Value</Value></QueryParameter><QueryParameter Name="@EndDate"><Value>=Parameters!EndDate.Value</Value></QueryParameter><QueryParameter Name="@Computer"><Value>=Parameters!Computer.Value</Value></QueryParameter></QueryParameters><Timeout>0</Timeout></Query></DataSet><DataSet Name="CurrentDate"><Fields><Field Name="BeginDate"><DataField>BeginDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="EndDate"><DataField>EndDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     BeginDate, EndDate
FROM         fn_GetDateRange(7) fn_GetDateRange</CommandText><Timeout>30000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet><DataSet Name="ComputerList"><Fields><Field Name="Computer"><DataField>Computer</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT DISTINCT SourceClassInstanceKeyValue AS Computer
FROM         [SC_Class_Rel_Computer-Exchange_View]
ORDER BY Computer</CommandText><Timeout>300000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet></DataSets><LeftMargin>1in</LeftMargin><rd:SnapToGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:SnapToGrid><rd:DrawGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:DrawGrid><Description /><PageWidth>13in</PageWidth><rd:ReportID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">212d782b-9718-4b8d-a1c1-2bd72afd7b82</rd:ReportID><PageFooter><ReportItems><Textbox Name="textboxPageNumber_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.2in</Top><Height>0.25in</Height><Value>="Page " &amp; Globals.PageNumber &amp; "/" &amp; Globals.TotalPages</Value><Left>4in</Left></Textbox><Textbox Name="textbox1DateTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><Top>0.2in</Top><Height>0.25in</Height><Width>4in</Width><Value>="All dates and  times shown in " &amp; Code.CurrentTimeZone()</Value></Textbox></ReportItems><PrintOnLastPage>true</PrintOnLastPage><PrintOnFirstPage>true</PrintOnFirstPage><Style /><Height>0.5in</Height></PageFooter><BottomMargin>1in</BottomMargin><ReportParameters><ReportParameter Name="Temp1"><DataType>String</DataType><DefaultValue><Values><Value>=Code.GetBeginDate(-7)</Value></Values></DefaultValue><AllowBlank>true</AllowBlank></ReportParameter><ReportParameter Name="Temp2"><DataType>String</DataType><DefaultValue><Values><Value>=Code.GetEndDate(0)</Value></Values></DefaultValue><AllowBlank>true</AllowBlank></ReportParameter><ReportParameter Name="BeginDate"><DataType>String</DataType><DefaultValue><Values><Value>= Parameters!Temp1.Value</Value></Values></DefaultValue><Prompt>Begin Date</Prompt></ReportParameter><ReportParameter Name="EndDate"><DataType>String</DataType><DefaultValue><Values><Value>= Parameters!Temp2.Value</Value></Values></DefaultValue><Prompt>End Date</Prompt></ReportParameter><ReportParameter Name="Computer"><DataType>String</DataType><Prompt>Server</Prompt><ValidValues><DataSetReference><DataSetName>ComputerList</DataSetName><ValueField>Computer</ValueField><LabelField>Computer</LabelField></DataSetReference></ValidValues></ReportParameter></ReportParameters></Report>]]></ReportDefinition>
  </ReportItem>
  <ReportItem>
    <Name>MTA Work Queue Length by Day</Name>
    <Type>Report</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/Exchange Capacity Planning/MTA Work Queue Length by Day</Path>
    <ReportDefinition><![CDATA[<?xml version='1.0' encoding='utf-8'?><Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportdefinition"><rd:GridSpacing xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">0.05in</rd:GridSpacing><RightMargin>1in</RightMargin><Body><ReportItems><Textbox Name="textboxRightLogo"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/2Inch_Logo.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>6</ZIndex><Height>0.5625in</Height><Value /><Left>9in</Left></Textbox><Textbox Name="textboxReportTitle_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/9Inch_Banner.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>5</ZIndex><Height>0.5625in</Height><Width>9in</Width><CanGrow>true</CanGrow><Value>MTA Work Queue Length by Day</Value></Textbox><Textbox Name="textboxExecutionTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>4</ZIndex><Top>0.5625in</Top><Height>0.25in</Height><Value>=Globals.ExecutionTime</Value><Left>9in</Left></Textbox><Textbox Name="textboxParameterValue_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.375in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!Computer.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterValue_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.25in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!BeginDate.Value &amp; " - " &amp; Parameters!EndDate.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterName_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.375in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Server :</Value></Textbox><Textbox Name="textboxParameterName_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.25in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Date Range :</Value></Textbox><Textbox Name="textboxDescription_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>GhostWhite</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.8125in</Top><ToggleImage><InitialState>true</InitialState></ToggleImage><Height>0.375in</Height><Visibility><ToggleItem>textboxDescriptionHeading_tmp</ToggleItem><Hidden>true</Hidden></Visibility><CanGrow>true</CanGrow><Value>= "This report provides a graph of the MTA work queue length for each specified server during the specified time period. The graph indicates the minimum, maximum, and average MTA work queue length based on the MSExchangeMTA/Work Queue Length performance counter. This report provides one graph for each specified server."  &amp; VbCrLf &amp;  "There is no data available for this report. This can occur when there is no relevant data available for collection, the reports’ dependent rules are not enabled or when none of the relevant data has been copied to the Reporting database."  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "The following rules need to be enabled for data to be collected:"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "For Exchange 2000 Server:"  &amp; VbCrLf &amp;  "- 	Microsoft Exchange Server\Exchange 2000\Server Utilization Logging:Reports and views\Mail Queue Logging\"  &amp; VbCrLf &amp;  "- 	Message Transfer Agent (MTA) Queue Length per Connection (sample)"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "For Exchange Server 2003:"  &amp; VbCrLf &amp;  "- 	Microsoft Exchange Server\Exchange 2003\Performance Counter Logging Rules\Exchange Utilization and Performance\Mail Queue Logging\"  &amp; VbCrLf &amp;  "- 	Message Transfer Agent (MTA) Queue Length per Connection (sample)"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "" </Value></Textbox><Textbox Name="textboxDescriptionHeading_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><Top>0.5625in</Top><Height>0.25in</Height><Width>9in</Width><CanGrow>true</CanGrow><Value>Description</Value></Textbox><Chart Name="chart1"><Type>Line</Type><Subtype>Plain</Subtype><Style><BackgroundColor>White</BackgroundColor></Style><Top>1.75in</Top><Height>5in</Height><ZIndex>9</ZIndex><NoRows>= "There is no data available for this report. This can occur when there is no relevant data available for collection, the reports’ dependent rules are not enabled or when none of the relevant data has been copied to the Reporting database." </NoRows><DataSetName>MTAQueueLength</DataSetName><SeriesGroupings><SeriesGrouping><DynamicSeries><Grouping Name="chart1_SeriesGroup1"><GroupExpressions><GroupExpression>=Fields!Server.Value</GroupExpression></GroupExpressions></Grouping><Label>=Fields!Server.Value</Label></DynamicSeries></SeriesGrouping><SeriesGrouping><StaticSeries><StaticMember><Label>Minimum</Label></StaticMember><StaticMember><Label>Maximum</Label></StaticMember><StaticMember><Label>Average</Label></StaticMember></StaticSeries></SeriesGrouping></SeriesGroupings><CategoryGroupings><CategoryGrouping><DynamicCategories><Grouping Name="chart1_CategoryGroup1"><GroupExpressions><GroupExpression>=Fields!time.Value</GroupExpression></GroupExpressions></Grouping><Label>=Fields!time.Value</Label></DynamicCategories></CategoryGrouping></CategoryGroupings><ChartData><ChartSeries><DataPoints><DataPoint><DataValues><DataValue><Value>=Sum(Fields!Minimum.Value)</Value></DataValue></DataValues><DataLabel /><Marker /></DataPoint></DataPoints></ChartSeries><ChartSeries><DataPoints><DataPoint><DataValues><DataValue><Value>=Sum(Fields!Maximum.Value)</Value></DataValue></DataValues><DataLabel /><Marker /></DataPoint></DataPoints></ChartSeries><ChartSeries><DataPoints><DataPoint><DataValues><DataValue><Value>=Sum(Fields!Average.Value)</Value></DataValue></DataValues><DataLabel /><Marker /></DataPoint></DataPoints></ChartSeries></ChartData><Legend><Visible>true</Visible><Style><BorderStyle><Default>Solid</Default></BorderStyle></Style><Position>TopCenter</Position><Layout>Table</Layout></Legend><CategoryAxis><Axis><Visible>true</Visible><Style><Format>d</Format></Style><Title /><Margin>true</Margin><MajorTickMarks>Outside</MajorTickMarks><MajorGridLines><ShowGridLines>true</ShowGridLines><Style><BorderColor><Default>Silver</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle></Style></MajorGridLines><MinorGridLines><ShowGridLines>true</ShowGridLines><Style><BorderColor><Default>Silver</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BorderWidth><Default>0.75pt</Default></BorderWidth></Style></MinorGridLines><MajorInterval>1</MajorInterval><Scalar>true</Scalar><Min>0</Min></Axis></CategoryAxis><ValueAxis><Axis><Visible>true</Visible><Title /><Margin>true</Margin><MajorTickMarks>Outside</MajorTickMarks><MajorGridLines><ShowGridLines>true</ShowGridLines><Style><BorderStyle><Default>Solid</Default></BorderStyle></Style></MajorGridLines><MinorGridLines><ShowGridLines>true</ShowGridLines><Style><BorderColor><Default>Silver</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BorderWidth><Default>0.75pt</Default></BorderWidth></Style></MinorGridLines><Scalar>true</Scalar></Axis></ValueAxis><Title /><Palette>Default</Palette><ThreeDProperties><Rotation>30</Rotation><Inclination>30</Inclination><Shading>Simple</Shading><WallThickness>50</WallThickness></ThreeDProperties><PlotArea><Style><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor></Style></PlotArea></Chart></ReportItems><Style><BorderWidth><Default>0.5pt</Default></BorderWidth></Style><Height>11in</Height><ColumnSpacing>0.25in</ColumnSpacing></Body><TopMargin>1in</TopMargin><DataSources><DataSource Name="SCDW"><rd:DataSourceID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">fb44cba7-75a7-4314-b2a5-1fce44701d23</rd:DataSourceID><DataSourceReference>SCDW</DataSourceReference></DataSource></DataSources><Code>public function CurrentTimeZone() as string 
	CurrentTimeZone = System.TimeZone.CurrentTimeZone.StandardName
end function

public function FormatNumber(fieldValue, formatString) as string 
	if (fieldValue is Nothing)
		FormatNumber = "Not Available"
	else
		FormatNumber = Format(fieldValue,formatString)
	end if
end function

public function GetBeginDate(n as integer) as string 
     dim d as date
     d= dateadd(DateInterval.Day,n,now())
     GetBeginDate=d.tostring("d")
end function
public function GetEndDate(n as integer) as string 
     dim d as date
     d= dateadd(DateInterval.Day,n,now())
     GetEndDate=d.tostring("d")
end function
</Code><Width>11in</Width><DataSets><DataSet Name="MTAQueueLength"><Fields><Field Name="time"><DataField>Time</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="Server"><DataField>Server</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="Minimum"><DataField>Minimum</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="Maximum"><DataField>Maximum</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="Average"><DataField>Average</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     [Time], Server, [Minimum] = MIN([Value]), [Maximum] = MAX([Value]), [Average] = AVG([Value])
FROM         (SELECT     [Time] = DD.Date, Server = CD.FullComputerName, [Value] = SND.SampleValue
                       FROM          dbo.SC_SampledNumericDataFact_View SND INNER JOIN
                                              dbo.SC_CounterDetailDimension_View CDD ON CDD.SMC_InstanceID = SND.CounterDetail_FK INNER JOIN
                                              dbo.SC_ComputerDimension_View CD ON CD.SMC_InstanceID = SND.Computer_FK INNER JOIN
                                              dbo.SC_DateDimension_View DD ON DD.SMC_InstanceID = SND.LocalDateSampled_FK
                       WHERE      CDD.ObjectName_PK IN ('MSExchangeMTA') AND CDD.CounterName_PK IN ('Work Queue Length') AND 
                                              SND.LocalDateTimeSampled BETWEEN @BeginDate AND @EndDate AND (@Computer = '&lt;ALL&gt;' OR
                                              CD.FullComputerName = @Computer)) TEMP
GROUP BY Server, [Time]
ORDER BY Server, [Time]</CommandText><QueryParameters><QueryParameter Name="@BeginDate"><Value>=Parameters!BeginDate.Value</Value></QueryParameter><QueryParameter Name="@EndDate"><Value>=Parameters!EndDate.Value</Value></QueryParameter><QueryParameter Name="@Computer"><Value>=Parameters!Computer.Value</Value></QueryParameter></QueryParameters><Timeout>0</Timeout></Query></DataSet><DataSet Name="CurrentDate"><Fields><Field Name="BeginDate"><DataField>BeginDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="EndDate"><DataField>EndDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     BeginDate, EndDate
FROM         fn_GetDateRange(7) fn_GetDateRange</CommandText><Timeout>30000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet><DataSet Name="ComputerList"><Fields><Field Name="Computer"><DataField>Computer</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT DISTINCT SourceClassInstanceKeyValue AS Computer
FROM         [SC_Class_Rel_Computer-Exchange_View]
ORDER BY Computer</CommandText><Timeout>300000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet></DataSets><LeftMargin>1in</LeftMargin><rd:SnapToGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:SnapToGrid><rd:DrawGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:DrawGrid><Description /><PageWidth>13in</PageWidth><rd:ReportID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">212d782b-9718-4b8d-a1c1-2bd72afd7b82</rd:ReportID><PageFooter><ReportItems><Textbox Name="textboxPageNumber_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.2in</Top><Height>0.25in</Height><Value>="Page " &amp; Globals.PageNumber &amp; "/" &amp; Globals.TotalPages</Value><Left>4in</Left></Textbox><Textbox Name="textbox1DateTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><Top>0.2in</Top><Height>0.25in</Height><Width>4in</Width><Value>="All dates and  times shown in " &amp; Code.CurrentTimeZone()</Value></Textbox></ReportItems><PrintOnLastPage>true</PrintOnLastPage><PrintOnFirstPage>true</PrintOnFirstPage><Style /><Height>0.5in</Height></PageFooter><BottomMargin>1in</BottomMargin><ReportParameters><ReportParameter Name="Temp1"><DataType>String</DataType><DefaultValue><Values><Value>=Code.GetBeginDate(-7)</Value></Values></DefaultValue><AllowBlank>true</AllowBlank></ReportParameter><ReportParameter Name="Temp2"><DataType>String</DataType><DefaultValue><Values><Value>=Code.GetEndDate(0)</Value></Values></DefaultValue><AllowBlank>true</AllowBlank></ReportParameter><ReportParameter Name="BeginDate"><DataType>String</DataType><DefaultValue><Values><Value>= Parameters!Temp1.Value</Value></Values></DefaultValue><Prompt>Begin Date</Prompt></ReportParameter><ReportParameter Name="EndDate"><DataType>String</DataType><DefaultValue><Values><Value>= Parameters!Temp2.Value</Value></Values></DefaultValue><Prompt>End Date</Prompt></ReportParameter><ReportParameter Name="Computer"><DataType>String</DataType><Prompt>Server</Prompt><ValidValues><DataSetReference><DataSetName>ComputerList</DataSetName><ValueField>Computer</ValueField><LabelField>Computer</LabelField></DataSetReference></ValidValues></ReportParameter></ReportParameters></Report>]]></ReportDefinition>
  </ReportItem>
  <ReportItem>
    <Name>SCDW</Name>
    <Type>DataSource</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/Exchange Capacity Planning/SCDW</Path>
    <DataSourceDefinitionContainer><![CDATA[<?xml version="1.0"?>
<DataSourceDefinition xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Extension xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">SQL</Extension>
  <ConnectString xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">data source=.;initial catalog=SystemCenterReporting</ConnectString>
  <CredentialRetrieval xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">Integrated</CredentialRetrieval>
  <WindowsCredentials xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">false</WindowsCredentials>
  <ImpersonateUser xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">false</ImpersonateUser>
  <Prompt xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">Enter a user name and password to access the data source:</Prompt>
  <Enabled xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">true</Enabled>
</DataSourceDefinition>]]></DataSourceDefinitionContainer>
  </ReportItem>
  <ReportItem>
    <Name>Exchange Mailbox and Folder Sizes</Name>
    <Type>Folder</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/Exchange Mailbox and Folder Sizes</Path>
  </ReportItem>
  <ReportItem>
    <Name>Highest Growth Mailboxes</Name>
    <Type>Report</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/Exchange Mailbox and Folder Sizes/Highest Growth Mailboxes</Path>
    <ReportDefinition><![CDATA[<?xml version='1.0' encoding='utf-8'?><Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportdefinition"><rd:GridSpacing xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">0.05in</rd:GridSpacing><RightMargin>1in</RightMargin><Body><ReportItems><Textbox Name="textboxRightLogo"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/2Inch_Logo.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>6</ZIndex><Height>0.5625in</Height><Value /><Left>9in</Left></Textbox><Textbox Name="textboxReportTitle_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/9Inch_Banner.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>5</ZIndex><Height>0.5625in</Height><Width>9in</Width><CanGrow>true</CanGrow><Value>Highest Growth Mailboxes</Value></Textbox><Textbox Name="textboxExecutionTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>4</ZIndex><Top>0.5625in</Top><Height>0.25in</Height><Value>=Globals.ExecutionTime</Value><Left>9in</Left></Textbox><Textbox Name="textboxParameterValue_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.375in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!Computer.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterValue_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.25in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!BeginDate.Value &amp; " - " &amp; Parameters!EndDate.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterName_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.375in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Server :</Value></Textbox><Textbox Name="textboxParameterName_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.25in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Date Range :</Value></Textbox><Textbox Name="textboxDescription_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>GhostWhite</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.8125in</Top><ToggleImage><InitialState>true</InitialState></ToggleImage><Height>0.375in</Height><Visibility><ToggleItem>textboxDescriptionHeading_tmp</ToggleItem><Hidden>true</Hidden></Visibility><CanGrow>true</CanGrow><Value>= "This report summarizes the Exchange mailboxes with the most growth during the specified period of time.  There must be two sets of data points (which are by default two days worth of data) for the report to show growth statistics."  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "The following rules need to be enabled for data to be collected:"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "For Exchange 2000 Server:"  &amp; VbCrLf &amp;  "- 	Microsoft Exchange Server\Exchange 2000\Server Utilization Logging:Reports and views\"  &amp; VbCrLf &amp;  "- 	Report Collection - Mailbox Statistics"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "For Exchange Server 2003:"  &amp; VbCrLf &amp;  "- 	Microsoft Exchange Server\Exchange 2003\Report Collection Rules\Mailbox Statistics Analysis\"  &amp; VbCrLf &amp;  "- 	Report Collection - Mailbox Statistics"  &amp; VbCrLf &amp;  "" </Value></Textbox><Textbox Name="textboxDescriptionHeading_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><Top>0.5625in</Top><Height>0.25in</Height><Width>9in</Width><CanGrow>true</CanGrow><Value>Description</Value></Textbox><Table Name="table1"><Style><BorderColor><Default>LightGrey</Default></BorderColor></Style><Top>1.75in</Top><Height>0.625in</Height><ZIndex>1</ZIndex><NoRows>= "There is no data available for this report. This can occur when there is no relevant data available for collection, the reports’ dependent rules are not enabled or when none of the relevant data has been copied to the Reporting database." </NoRows><DataSetName>HighGrowthMailbox</DataSetName><TableColumns><TableColumn><Width>2.55814in</Width></TableColumn><TableColumn><Width>2.68605in</Width></TableColumn><TableColumn><Width>1.15116in</Width></TableColumn><TableColumn><Width>1.15116in</Width></TableColumn><TableColumn><Width>1.15116in</Width></TableColumn><TableColumn><Width>1.15116in</Width></TableColumn><TableColumn><Width>1.15116in</Width></TableColumn></TableColumns><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox11"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox11</DefaultName><ZIndex>13</ZIndex><Value>Mailbox</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox3"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox3</DefaultName><ZIndex>12</ZIndex><Value>Server</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox4"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox4</DefaultName><ZIndex>11</ZIndex><Value>Initial Message Count</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox5"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox5</DefaultName><ZIndex>10</ZIndex><Value>Final Message Count</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox8"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox8</DefaultName><ZIndex>9</ZIndex><Value>Initial Size(MB)</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox12"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox12</DefaultName><ZIndex>8</ZIndex><Value>Final Size(MB)</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox14"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox14</DefaultName><ZIndex>7</ZIndex><Value>Growth (MB)</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell></TableCells><Height>0.375in</Height></TableRow></TableRows><RepeatOnNewPage>true</RepeatOnNewPage></Header><TableGroups><TableGroup><Grouping Name="table1_Group1"><GroupExpressions><GroupExpression>=Fields!InstanceName.Value</GroupExpression><GroupExpression>=Fields!Server.Value</GroupExpression></GroupExpressions></Grouping><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0) </SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox9"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox9</DefaultName><ZIndex>6</ZIndex><Value>=Fields!InstanceName.Value</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox13"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox13</DefaultName><ZIndex>5</ZIndex><Value>=Fields!Server.Value</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox16"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox16</DefaultName><ZIndex>4</ZIndex><Value>=Format( First(Fields!MsgCount.Value),"###########0.00")</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox18"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox18</DefaultName><ZIndex>3</ZIndex><Value>=Format(Last(Fields!MsgCount.Value),"############0.00")</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="TotalMB_2"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">TotalMB_2</DefaultName><ZIndex>2</ZIndex><Value>=Format(First(Fields!TotalMB.Value),"###########0.00")</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="TotalMB_3"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">TotalMB_3</DefaultName><ZIndex>1</ZIndex><Value>=Format(Last(Fields!TotalMB.Value),"###########0.00")</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox22"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox22</DefaultName><Value>=Format(First(Fields!TotalMB.Value)-Last(Fields!TotalMB.Value),"###########0.00")</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows></Header></TableGroup></TableGroups></Table></ReportItems><Style><BorderWidth><Default>0.5pt</Default></BorderWidth></Style><Height>11in</Height><ColumnSpacing>0.25in</ColumnSpacing></Body><TopMargin>1in</TopMargin><DataSources><DataSource Name="SCDW"><rd:DataSourceID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">fb44cba7-75a7-4314-b2a5-1fce44701d23</rd:DataSourceID><DataSourceReference>SCDW</DataSourceReference></DataSource></DataSources><Code>public function CurrentTimeZone() as string 
	CurrentTimeZone = System.TimeZone.CurrentTimeZone.StandardName
end function

public function FormatNumber(fieldValue, formatString) as string 
	if (fieldValue is Nothing)
		FormatNumber = "Not Available"
	else
		FormatNumber = Format(fieldValue,formatString)
	end if
end function
</Code><Width>11in</Width><DataSets><DataSet Name="CurrentDate"><Fields><Field Name="BeginDate"><DataField>BeginDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="EndDate"><DataField>EndDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     BeginDate, EndDate
FROM         fn_GetDateRange(7) fn_GetDateRange</CommandText><Timeout>0</Timeout></Query></DataSet><DataSet Name="ComputerList"><Fields><Field Name="Computer"><DataField>Computer</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT DISTINCT SourceClassInstanceKeyValue AS Computer
FROM         [SC_Class_Rel_Computer-Exchange_View]
UNION
SELECT     '&lt;ALL&gt;'
ORDER BY Computer</CommandText><Timeout>3000000</Timeout></Query></DataSet><DataSet Name="CompGroup"><Fields><Field Name="CompGroup"><DataField>CompGroup</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     CompGroup
FROM         fn_ListComputerGroups()</CommandText><Timeout>3000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet><DataSet Name="HighGrowthMailbox"><Fields><Field Name="Time"><DataField>Time</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="InstanceName"><DataField>InstanceName</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="Server"><DataField>Server</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="MsgCount"><DataField>MsgCount</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="TotalMB"><DataField>TotalMB</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT 	
	[Time], 
	InstanceName, 
	Server, 
	ROUND(AVG(MsgCount), 0) AS MsgCount, 
	AVG(TotalMB) AS TotalMB
from 
(SELECT  
	InstanceName 	=CDD.InstanceName_PK,
	[Time] 		= DD.Date, 
	Server 		= CD.FullComputerName,
	TotalMB		= CASE WHEN( CDD.ObjectName_PK='McExchDG' and CDD.CounterName_PK='Mailbox MB') then SND.SampleValue END ,
	MsgCount	= CASE WHEN( CDD.ObjectName_PK='McExchDG' and CDD.CounterName_PK='Mailbox Message Count') then SND.SampleValue END 
FROM          
	dbo.SC_SampledNumericDataFact_View SND INNER JOIN
        dbo.SC_CounterDetailDimension_View CDD ON CDD.SMC_InstanceID = SND.CounterDetail_FK INNER JOIN
        dbo.SC_ComputerDimension_View CD ON CD.SMC_InstanceID = SND.Computer_FK inner join
        dbo.SC_DateDimension_view DD on DD.SMC_InstanceID = SND.LocalDateSampled_FK
WHERE   
	CDD.ObjectName_PK in ('McExchDG') AND CDD.CounterName_PK in ( 'Mailbox MB','Mailbox Message Count')
	and SND.LocalDateTimeSampled between @BeginDate and @EndDate and (@Computer='&lt;ALL&gt;' or CD.FullComputerName =@Computer)
) temp
group by [Time],InstanceName,Server
order by Server,InstanceName</CommandText><QueryParameters><QueryParameter Name="@BeginDate"><Value>=Parameters!BeginDate.Value</Value></QueryParameter><QueryParameter Name="@EndDate"><Value>=Parameters!EndDate.Value</Value></QueryParameter><QueryParameter Name="@Computer"><Value>=Parameters!Computer.Value</Value></QueryParameter></QueryParameters><Timeout>300000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet></DataSets><LeftMargin>1in</LeftMargin><rd:SnapToGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:SnapToGrid><rd:DrawGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:DrawGrid><Description /><PageWidth>13in</PageWidth><rd:ReportID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">212d782b-9718-4b8d-a1c1-2bd72afd7b82</rd:ReportID><PageFooter><ReportItems><Textbox Name="textboxPageNumber_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.2in</Top><Height>0.25in</Height><Value>="Page " &amp; Globals.PageNumber &amp; "/" &amp; Globals.TotalPages</Value><Left>4in</Left></Textbox><Textbox Name="textbox1DateTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><Top>0.2in</Top><Height>0.25in</Height><Width>4in</Width><Value>="All dates and  times shown in " &amp; Code.CurrentTimeZone()</Value></Textbox></ReportItems><PrintOnLastPage>true</PrintOnLastPage><PrintOnFirstPage>true</PrintOnFirstPage><Style /><Height>0.5in</Height></PageFooter><BottomMargin>1in</BottomMargin><ReportParameters><ReportParameter Name="BeginDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>BeginDate</ValueField></DataSetReference></DefaultValue><Prompt>Begin Date</Prompt></ReportParameter><ReportParameter Name="EndDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>EndDate</ValueField></DataSetReference></DefaultValue><Prompt>End Date</Prompt></ReportParameter><ReportParameter Name="Computer"><DataType>String</DataType><Prompt>Server</Prompt><ValidValues><DataSetReference><DataSetName>ComputerList</DataSetName><ValueField>Computer</ValueField><LabelField>Computer</LabelField></DataSetReference></ValidValues></ReportParameter><ReportParameter Name="SortBy"><DataType>String</DataType><DefaultValue><Values><Value>Server</Value></Values></DefaultValue><Prompt>Sort By</Prompt><ValidValues><ParameterValues><ParameterValue><Value>InstanceName</Value><Label>Mailbox</Label></ParameterValue><ParameterValue><Value>Server</Value></ParameterValue><ParameterValue><Value>MsgCount</Value><Label>Initial Message Count</Label></ParameterValue><ParameterValue><Value>MsgCount</Value><Label>Final Message Count</Label></ParameterValue><ParameterValue><Value>TotalMB</Value><Label>Initial Size(MB)</Label></ParameterValue><ParameterValue><Value>TotalMB</Value><Label>Final Size(MB)</Label></ParameterValue><ParameterValue><Value>TotalMB</Value><Label>Growth(MB)</Label></ParameterValue></ParameterValues></ValidValues></ReportParameter><ReportParameter Name="Direction"><DataType>String</DataType><DefaultValue><Values><Value>Ascending</Value></Values></DefaultValue><Prompt>Sort Order</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Ascending</Value></ParameterValue><ParameterValue><Value>Descending</Value></ParameterValue></ParameterValues></ValidValues></ReportParameter></ReportParameters></Report>]]></ReportDefinition>
  </ReportItem>
  <ReportItem>
    <Name>Highest Growth Public Folders</Name>
    <Type>Report</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/Exchange Mailbox and Folder Sizes/Highest Growth Public Folders</Path>
    <ReportDefinition><![CDATA[<?xml version='1.0' encoding='utf-8'?><Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportdefinition"><rd:GridSpacing xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">0.05in</rd:GridSpacing><RightMargin>1in</RightMargin><Body><ReportItems><Textbox Name="textboxRightLogo"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/2Inch_Logo.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>6</ZIndex><Height>0.5625in</Height><Value /><Left>9in</Left></Textbox><Textbox Name="textboxReportTitle_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/9Inch_Banner.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>5</ZIndex><Height>0.5625in</Height><Width>9in</Width><CanGrow>true</CanGrow><Value>Highest Growth Public Folders</Value></Textbox><Textbox Name="textboxExecutionTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>4</ZIndex><Top>0.5625in</Top><Height>0.25in</Height><Value>=Globals.ExecutionTime</Value><Left>9in</Left></Textbox><Textbox Name="textboxParameterValue_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.375in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!Computer.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterValue_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.25in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!BeginDate.Value &amp; " - " &amp; Parameters!EndDate.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterName_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.375in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Server :</Value></Textbox><Textbox Name="textboxParameterName_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.25in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Date Range :</Value></Textbox><Textbox Name="textboxDescription_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>GhostWhite</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.8125in</Top><ToggleImage><InitialState>true</InitialState></ToggleImage><Height>0.375in</Height><Visibility><ToggleItem>textboxDescriptionHeading_tmp</ToggleItem><Hidden>true</Hidden></Visibility><CanGrow>true</CanGrow><Value>= "This report summarizes the Exchange public folders with the most growth during the specified period of time.  There must be two sets of data points (which are by default two days worth of data) for the report to show growth statistics."  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "The following rules need to be enabled for data to be collected:"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "For Exchange 2000 Server:"  &amp; VbCrLf &amp;  "- 	Microsoft Exchange Server\Exchange 2000\Server Utilization Logging:Reports and views\"  &amp; VbCrLf &amp;  "- 	Report Collection - Public Folder Statistics"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "For Exchange Server 2003:"  &amp; VbCrLf &amp;  "- 	Microsoft Exchange Server\Exchange 2003\Report Collection Rules\Public Folder Statistics Analysis\"  &amp; VbCrLf &amp;  "- 	Report Collection - Public Folder Statistics"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "" </Value></Textbox><Textbox Name="textboxDescriptionHeading_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><Top>0.5625in</Top><Height>0.25in</Height><Width>9in</Width><CanGrow>true</CanGrow><Value>Description</Value></Textbox><Table Name="table1"><Style><BorderColor><Default>LightGrey</Default></BorderColor></Style><Top>1.75in</Top><Height>0.625in</Height><ZIndex>1</ZIndex><NoRows>= "There is no data available for this report. This can occur when there is no relevant data available for collection, the reports’ dependent rules are not enabled or when none of the relevant data has been copied to the Reporting database." </NoRows><DataSetName>HighGrowthPublicFolder</DataSetName><TableColumns><TableColumn><Width>2.52874in</Width></TableColumn><TableColumn><Width>2.78161in</Width></TableColumn><TableColumn><Width>1.13793in</Width></TableColumn><TableColumn><Width>1.13793in</Width></TableColumn><TableColumn><Width>1.13793in</Width></TableColumn><TableColumn><Width>1.13793in</Width></TableColumn><TableColumn><Width>1.13793in</Width></TableColumn></TableColumns><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox11"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox11</DefaultName><ZIndex>13</ZIndex><Value>Folder</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox3"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox3</DefaultName><ZIndex>12</ZIndex><Value>Server</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox4"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox4</DefaultName><ZIndex>11</ZIndex><Value>Initial Message Count</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox5"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox5</DefaultName><ZIndex>10</ZIndex><Value>Final Message Count</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox8"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox8</DefaultName><ZIndex>9</ZIndex><Value>Initial Size(MB)</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox12"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox12</DefaultName><ZIndex>8</ZIndex><Value>Final Size(MB)</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox14"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox14</DefaultName><ZIndex>7</ZIndex><Value>Growth (MB)</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell></TableCells><Height>0.375in</Height></TableRow></TableRows><RepeatOnNewPage>true</RepeatOnNewPage></Header><TableGroups><TableGroup><Grouping Name="table1_Group1"><GroupExpressions><GroupExpression>=Fields!Time.Value</GroupExpression><GroupExpression>=Fields!InstanceName.Value</GroupExpression><GroupExpression>=Fields!Server.Value</GroupExpression></GroupExpressions></Grouping><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox9"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox9</DefaultName><ZIndex>6</ZIndex><Value>=Fields!InstanceName.Value</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox13"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox13</DefaultName><ZIndex>5</ZIndex><Value>=Fields!Server.Value</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox16"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox16</DefaultName><ZIndex>4</ZIndex><Value>=Format(First(Fields!MsgCount.Value),"############0.00")</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox18"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox18</DefaultName><ZIndex>3</ZIndex><Value>=Format(Last(Fields!MsgCount.Value),"############0.00")</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="TotalMB_2"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">TotalMB_2</DefaultName><ZIndex>2</ZIndex><Value>=Format(First(Fields!TotalMB.Value),"###########0.00")</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="TotalMB_3"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">TotalMB_3</DefaultName><ZIndex>1</ZIndex><Value>=Format(Last(Fields!TotalMB.Value),"###########0.00")</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox22"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox22</DefaultName><Value>=Format(First(Fields!TotalMB.Value)-Last(Fields!TotalMB.Value),"###########0.00000")</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows></Header></TableGroup></TableGroups></Table></ReportItems><Style><BorderWidth><Default>0.5pt</Default></BorderWidth></Style><Height>11in</Height><ColumnSpacing>0.25in</ColumnSpacing></Body><TopMargin>1in</TopMargin><DataSources><DataSource Name="SCDW"><rd:DataSourceID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">fb44cba7-75a7-4314-b2a5-1fce44701d23</rd:DataSourceID><DataSourceReference>SCDW</DataSourceReference></DataSource></DataSources><Code>public function CurrentTimeZone() as string 
	CurrentTimeZone = System.TimeZone.CurrentTimeZone.StandardName
end function

public function FormatNumber(fieldValue, formatString) as string 
	if (fieldValue is Nothing)
		FormatNumber = "Not Available"
	else
		FormatNumber = Format(fieldValue,formatString)
	end if
end function
</Code><Width>11in</Width><DataSets><DataSet Name="CurrentDate"><Fields><Field Name="BeginDate"><DataField>BeginDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="EndDate"><DataField>EndDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     BeginDate, EndDate
FROM         fn_GetDateRange(7) fn_GetDateRange</CommandText><Timeout>0</Timeout></Query></DataSet><DataSet Name="ComputerList"><Fields><Field Name="Computer"><DataField>Computer</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT DISTINCT SourceClassInstanceKeyValue AS Computer
FROM         [SC_Class_Rel_Computer-Exchange_View]
UNION
SELECT     '&lt;ALL&gt;'
ORDER BY Computer</CommandText><Timeout>3000000</Timeout></Query></DataSet><DataSet Name="CompGroup"><Fields><Field Name="CompGroup"><DataField>CompGroup</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     CompGroup
FROM         fn_ListComputerGroups()</CommandText><Timeout>3000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet><DataSet Name="HighGrowthPublicFolder"><Fields><Field Name="Time"><DataField>Time</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="InstanceName"><DataField>InstanceName</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="Server"><DataField>Server</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="MsgCount"><DataField>MsgCount</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="TotalMB"><DataField>TotalMB</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT 	 
	[Time],
	InstanceName, 
	Server, 
	ROUND(AVG(MsgCount), 0) AS MsgCount, 
	AVG(TotalMB) AS TotalMB
from 
(SELECT  
	InstanceName 	=CDD.InstanceName_PK,
	[Time] 		= DD.Date, 
	Server 		= CD.FullComputerName,
	TotalMB		= CASE WHEN( CDD.ObjectName_PK='McExchDG' and CDD.CounterName_PK='Public Folder MB') then SND.SampleValue END ,
	MsgCount	= CASE WHEN( CDD.ObjectName_PK='McExchDG' and CDD.CounterName_PK='Public Folder Message Count') then SND.SampleValue END 
FROM          
	dbo.SC_SampledNumericDataFact_View SND INNER JOIN
        dbo.SC_CounterDetailDimension_View CDD ON CDD.SMC_InstanceID = SND.CounterDetail_FK INNER JOIN
        dbo.SC_ComputerDimension_View CD ON CD.SMC_InstanceID = SND.Computer_FK  inner join
        dbo.SC_DateDimension_view DD on DD.SMC_InstanceID = SND.LocalDateSampled_FK
WHERE   
	CDD.ObjectName_PK in ('McExchDG') AND CDD.CounterName_PK in( 'Public Folder MB','Public Folder Message Count') 
	and SND.LocalDateTimeSampled between @BeginDate and @EndDate and (@Computer='&lt;ALL&gt;' or CD.FullComputerName =@Computer)
) temp
group by [Time],InstanceName,Server
order by  Server,InstanceName,[Time]</CommandText><QueryParameters><QueryParameter Name="@BeginDate"><Value>=Parameters!BeginDate.Value</Value></QueryParameter><QueryParameter Name="@EndDate"><Value>=Parameters!EndDate.Value</Value></QueryParameter><QueryParameter Name="@Computer"><Value>=Parameters!Computer.Value</Value></QueryParameter></QueryParameters><Timeout>300000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet></DataSets><LeftMargin>1in</LeftMargin><rd:SnapToGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:SnapToGrid><rd:DrawGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:DrawGrid><Description /><PageWidth>13in</PageWidth><rd:ReportID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">212d782b-9718-4b8d-a1c1-2bd72afd7b82</rd:ReportID><PageFooter><ReportItems><Textbox Name="textboxPageNumber_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.2in</Top><Height>0.25in</Height><Value>="Page " &amp; Globals.PageNumber &amp; "/" &amp; Globals.TotalPages</Value><Left>4in</Left></Textbox><Textbox Name="textbox1DateTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><Top>0.2in</Top><Height>0.25in</Height><Width>4in</Width><Value>="All dates and  times shown in " &amp; Code.CurrentTimeZone()</Value></Textbox></ReportItems><PrintOnLastPage>true</PrintOnLastPage><PrintOnFirstPage>true</PrintOnFirstPage><Style /><Height>0.5in</Height></PageFooter><BottomMargin>1in</BottomMargin><ReportParameters><ReportParameter Name="BeginDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>BeginDate</ValueField></DataSetReference></DefaultValue><Prompt>Begin Date</Prompt></ReportParameter><ReportParameter Name="EndDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>EndDate</ValueField></DataSetReference></DefaultValue><Prompt>End Date</Prompt></ReportParameter><ReportParameter Name="Computer"><DataType>String</DataType><Prompt>Server</Prompt><ValidValues><DataSetReference><DataSetName>ComputerList</DataSetName><ValueField>Computer</ValueField><LabelField>Computer</LabelField></DataSetReference></ValidValues></ReportParameter><ReportParameter Name="SortBy"><DataType>String</DataType><DefaultValue><Values><Value>Server</Value></Values></DefaultValue><Prompt>Sort By</Prompt><ValidValues><ParameterValues><ParameterValue><Value>InstanceName</Value><Label>Folder</Label></ParameterValue><ParameterValue><Value>Server</Value></ParameterValue><ParameterValue><Value>MsgCount</Value><Label>Initial Message Count</Label></ParameterValue><ParameterValue><Value>MsgCount</Value><Label>Final Message Count</Label></ParameterValue><ParameterValue><Value>TotalMB</Value><Label>Initial Size(MB)</Label></ParameterValue><ParameterValue><Value>TotalMB</Value><Label>Final Size(MB)</Label></ParameterValue><ParameterValue><Value>DiffMB</Value><Label>Growth(MB)</Label></ParameterValue></ParameterValues></ValidValues></ReportParameter><ReportParameter Name="Direction"><DataType>String</DataType><DefaultValue><Values><Value>Ascending</Value></Values></DefaultValue><Prompt>Sort Order</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Ascending</Value></ParameterValue><ParameterValue><Value>Descending</Value></ParameterValue></ParameterValues></ValidValues></ReportParameter></ReportParameters></Report>]]></ReportDefinition>
  </ReportItem>
  <ReportItem>
    <Name>Top 100 Mailboxes by Message Count</Name>
    <Type>Report</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/Exchange Mailbox and Folder Sizes/Top 100 Mailboxes by Message Count</Path>
    <ReportDefinition><![CDATA[<?xml version='1.0' encoding='utf-8'?><Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportdefinition"><rd:GridSpacing xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">0.05in</rd:GridSpacing><RightMargin>1in</RightMargin><Body><ReportItems><Textbox Name="textboxRightLogo"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/2Inch_Logo.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>6</ZIndex><Height>0.5625in</Height><Value /><Left>4.5in</Left></Textbox><Textbox Name="textboxReportTitle_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/4.5Inch_Banner.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>5</ZIndex><Height>0.5625in</Height><Width>4.5in</Width><Value>Top 100 Mailboxes (by Message Count)</Value></Textbox><Textbox Name="textboxExecutionTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>4</ZIndex><Top>0.5625in</Top><Height>0.25in</Height><Value>=Globals.ExecutionTime</Value><Left>4.5in</Left></Textbox><Textbox Name="textboxParameterValue_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.375in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!Computer.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterValue_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.25in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!BeginDate.Value &amp; " - " &amp; Parameters!EndDate.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterName_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.375in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Server :</Value></Textbox><Textbox Name="textboxParameterName_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.25in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Date Range :</Value></Textbox><Textbox Name="textboxDescription_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>GhostWhite</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.8125in</Top><ToggleImage><InitialState>true</InitialState></ToggleImage><Height>0.375in</Height><Visibility><ToggleItem>textboxDescriptionHeading_tmp</ToggleItem><Hidden>true</Hidden></Visibility><CanGrow>true</CanGrow><Value>= "This report provides a list of the 100 mailboxes containing the most messages based of average message count during the specified time period. The report presents average Message Count and average Size (in MB) for the mailboxes. Data is ordered by average message count, starting with the highest count."  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "The following rules need to be enabled for data to be collected:"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "	For Exchange 2000 Server:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server\Exchange 2000\Server Utilization Logging:Reports and views\"  &amp; VbCrLf &amp;  "–       Report Collection - Mailbox Statistics"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "	For Exchange Server 2003:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server\Exchange 2003\Report Collection Rules\Mailbox Statistics Analysis\"  &amp; VbCrLf &amp;  "–       Report Collection - Mailbox Statistics" </Value></Textbox><Textbox Name="textboxDescriptionHeading_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><Top>0.5625in</Top><Height>0.25in</Height><Width>4.5in</Width><CanGrow>true</CanGrow><Value>Description</Value></Textbox><Table Name="table1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle></Style><Top>1.75in</Top><ZIndex>2</ZIndex><NoRows>= "There is no data available for this report. This can occur when there is no relevant data available for collection, the reports’ dependent rules are not enabled or when none of the relevant data has been copied to the Reporting database." </NoRows><DataSetName>ExchangeMailboxes</DataSetName><TableColumns><TableColumn><Width>2.25in</Width></TableColumn><TableColumn><Width>2.5in</Width></TableColumn><TableColumn><Width>0.875in</Width></TableColumn><TableColumn><Width>0.875in</Width></TableColumn></TableColumns><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox11"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox11</DefaultName><ZIndex>7</ZIndex><Value>Mailbox</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox3"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox3</DefaultName><ZIndex>6</ZIndex><Value>Server</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox4"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox4</DefaultName><ZIndex>5</ZIndex><Value>Size(MB)</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox5"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox5</DefaultName><ZIndex>4</ZIndex><Value>Message Count</Value></Textbox></ReportItems></TableCell></TableCells><Height>0.375in</Height></TableRow></TableRows><RepeatOnNewPage>true</RepeatOnNewPage></Header><Details><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="InstanceName"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">InstanceName</DefaultName><ZIndex>3</ZIndex><Value>=Fields!InstanceName.Value</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="Server"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">Server</DefaultName><ZIndex>2</ZIndex><Value>=Fields!Server.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="TotalMB"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Format>F</Format><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">TotalMB</DefaultName><ZIndex>1</ZIndex><Value>=Fields!TotalMB.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="TotalMsgCount"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Format>F</Format><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">TotalMsgCount</DefaultName><Value>=Fields!TotalMsgCount.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting></Details></Table></ReportItems><Style><BorderWidth><Default>0.5pt</Default></BorderWidth></Style><Height>2.5in</Height><ColumnSpacing>0.25in</ColumnSpacing></Body><TopMargin>1in</TopMargin><DataSources><DataSource Name="SCDW"><rd:DataSourceID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">fb44cba7-75a7-4314-b2a5-1fce44701d23</rd:DataSourceID><DataSourceReference>SCDW</DataSourceReference></DataSource></DataSources><Code>public function CurrentTimeZone() as string 
	CurrentTimeZone = System.TimeZone.CurrentTimeZone.StandardName
end function

public function FormatNumber(fieldValue, formatString) as string 
	if (fieldValue is Nothing)
		FormatNumber = "Not Available"
	else
		FormatNumber = Format(fieldValue,formatString)
	end if
end function
</Code><Width>6.5in</Width><DataSets><DataSet Name="CurrentDate"><Fields><Field Name="BeginDate"><DataField>BeginDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="EndDate"><DataField>EndDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     BeginDate, EndDate
FROM         fn_GetDateRange(7) fn_GetDateRange</CommandText><Timeout>0</Timeout></Query></DataSet><DataSet Name="ComputerList"><Fields><Field Name="Computer"><DataField>Computer</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT DISTINCT SourceClassInstanceKeyValue AS Computer
FROM         [SC_Class_Rel_Computer-Exchange_View]
UNION
SELECT     '&lt;ALL&gt;'
ORDER BY Computer</CommandText><Timeout>3000000</Timeout></Query></DataSet><DataSet Name="CompGroup"><Fields><Field Name="CompGroup"><DataField>CompGroup</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     CompGroup
FROM         fn_ListComputerGroups()</CommandText><Timeout>3000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet><DataSet Name="ExchangeMailboxes"><Fields><Field Name="InstanceName"><DataField>InstanceName</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="Server"><DataField>Server</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="TotalMsgCount"><DataField>TotalMsgCount</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="TotalMB"><DataField>TotalMB</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT 	Top 100 
	InstanceName, 
	Server, 
	ROUND(AVG(MsgCount), 0) AS TotalMsgCount, 
	AVG(TotalMB) AS TotalMB
from 
(SELECT  
	InstanceName 	=CDD.InstanceName_PK,
	[Time] 		= SND.LocalDateTimeSampled, 
	Server 		= CD.FullComputerName,
	TotalMB		= CASE WHEN( CDD.ObjectName_PK='McExchDG' and CDD.CounterName_PK='Mailbox MB') then SND.SampleValue END ,
	MsgCount	= CASE WHEN( CDD.ObjectName_PK='McExchDG' and CDD.CounterName_PK='Mailbox Message Count') then SND.SampleValue END 
FROM          
	dbo.SC_SampledNumericDataFact_View SND INNER JOIN
        dbo.SC_CounterDetailDimension_View CDD ON CDD.SMC_InstanceID = SND.CounterDetail_FK INNER JOIN
        dbo.SC_ComputerDimension_View CD ON CD.SMC_InstanceID = SND.Computer_FK 
WHERE   
	CDD.ObjectName_PK in ('McExchDG') AND CDD.CounterName_PK in ( 'Mailbox MB','Mailbox Message Count') and SND.LocalDateTimeSampled between @BeginDate and @EndDate and (@Computer='&lt;ALL&gt;' or CD.FullComputerName =@Computer)
) temp
group by InstanceName,Server
order by ROUND(AVG(MsgCount), 0)</CommandText><QueryParameters><QueryParameter Name="@BeginDate"><Value>=Parameters!BeginDate.Value</Value></QueryParameter><QueryParameter Name="@EndDate"><Value>=Parameters!EndDate.Value</Value></QueryParameter><QueryParameter Name="@Computer"><Value>=Parameters!Computer.Value</Value></QueryParameter></QueryParameters><Timeout>300000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet></DataSets><LeftMargin>1in</LeftMargin><rd:SnapToGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:SnapToGrid><rd:DrawGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:DrawGrid><Description /><rd:ReportID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">212d782b-9718-4b8d-a1c1-2bd72afd7b82</rd:ReportID><PageFooter><ReportItems><Textbox Name="textboxPageNumber_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.25in</Top><Height>0.25in</Height><Value>="Page " &amp; Globals.PageNumber &amp; "/" &amp; Globals.TotalPages</Value><Left>4in</Left></Textbox><Textbox Name="textbox1DateTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><Top>0.25in</Top><Height>0.25in</Height><Width>4in</Width><Value>="All dates and  times shown in " &amp; Code.CurrentTimeZone()</Value></Textbox></ReportItems><PrintOnLastPage>true</PrintOnLastPage><PrintOnFirstPage>true</PrintOnFirstPage><Style /><Height>0.55in</Height></PageFooter><BottomMargin>1in</BottomMargin><ReportParameters><ReportParameter Name="BeginDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>BeginDate</ValueField></DataSetReference></DefaultValue><Prompt>Begin Date</Prompt></ReportParameter><ReportParameter Name="EndDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>EndDate</ValueField></DataSetReference></DefaultValue><Prompt>End Date</Prompt></ReportParameter><ReportParameter Name="Computer"><DataType>String</DataType><Prompt>Server</Prompt><ValidValues><DataSetReference><DataSetName>ComputerList</DataSetName><ValueField>Computer</ValueField><LabelField>Computer</LabelField></DataSetReference></ValidValues></ReportParameter><ReportParameter Name="SortBy"><DataType>String</DataType><DefaultValue><Values><Value>TotalMsgCount</Value></Values></DefaultValue><Prompt>Sort By</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Server</Value></ParameterValue><ParameterValue><Value>InstanceName</Value><Label>Mailbox</Label></ParameterValue><ParameterValue><Value>TotalMB</Value><Label>Size(MB)</Label></ParameterValue><ParameterValue><Value>TotalMsgCount</Value><Label>Message Count</Label></ParameterValue></ParameterValues></ValidValues></ReportParameter><ReportParameter Name="Direction"><DataType>String</DataType><DefaultValue><Values><Value>Descending</Value></Values></DefaultValue><Prompt>Sort Order</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Ascending</Value></ParameterValue><ParameterValue><Value>Descending</Value></ParameterValue></ParameterValues></ValidValues></ReportParameter></ReportParameters></Report>]]></ReportDefinition>
  </ReportItem>
  <ReportItem>
    <Name>Top 100 Mailboxes by Size</Name>
    <Type>Report</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/Exchange Mailbox and Folder Sizes/Top 100 Mailboxes by Size</Path>
    <ReportDefinition><![CDATA[<?xml version='1.0' encoding='utf-8'?><Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportdefinition"><rd:GridSpacing xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">0.05in</rd:GridSpacing><RightMargin>1in</RightMargin><Body><ReportItems><Textbox Name="textboxRightLogo"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/2Inch_Logo.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>6</ZIndex><Height>0.5625in</Height><Value /><Left>4.5in</Left></Textbox><Textbox Name="textboxReportTitle_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/4.5Inch_Banner.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>5</ZIndex><Height>0.5625in</Height><Width>4.5in</Width><Value>Top 100 Mailboxes (by Size)</Value></Textbox><Textbox Name="textboxExecutionTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>4</ZIndex><Top>0.5625in</Top><Height>0.25in</Height><Value>=Globals.ExecutionTime</Value><Left>4.5in</Left></Textbox><Textbox Name="textboxParameterValue_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.375in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!Computer.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterValue_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.25in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!BeginDate.Value &amp; " - " &amp; Parameters!EndDate.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterName_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.375in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Server :</Value></Textbox><Textbox Name="textboxParameterName_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.25in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Date Range :</Value></Textbox><Textbox Name="textboxDescription_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>GhostWhite</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.8125in</Top><ToggleImage><InitialState>true</InitialState></ToggleImage><Height>0.375in</Height><Visibility><ToggleItem>textboxDescriptionHeading_tmp</ToggleItem><Hidden>true</Hidden></Visibility><CanGrow>true</CanGrow><Value>= "This report provides a list of the largest 100 mailboxes based on average mailbox size during the specified time period. The report presents average Message Count and average Size (in MB) for the mailboxes. Data is ordered by average mailbox size, starting with the largest size."  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "The following rules need to be enabled for data to be collected:"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "	For Exchange 2000 Server:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server\Exchange 2000\Server Utilization Logging:Reports and views\"  &amp; VbCrLf &amp;  "–       Report Collection - Mailbox Statistics"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "	For Exchange Server 2003:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server\Exchange 2003\Report Collection Rules\Mailbox Statistics Analysis\"  &amp; VbCrLf &amp;  "–       Report Collection - Mailbox Statistics" </Value></Textbox><Textbox Name="textboxDescriptionHeading_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><Top>0.5625in</Top><Height>0.25in</Height><Width>4.5in</Width><CanGrow>true</CanGrow><Value>Description</Value></Textbox><Table Name="table1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle></Style><Top>1.75in</Top><ZIndex>1</ZIndex><NoRows>= "There is no data available for this report. This can occur when there is no relevant data available for collection, the reports’ dependent rules are not enabled or when none of the relevant data has been copied to the Reporting database." </NoRows><DataSetName>ExchangeMailboxes</DataSetName><TableColumns><TableColumn><Width>2.25in</Width></TableColumn><TableColumn><Width>2.25in</Width></TableColumn><TableColumn><Width>1in</Width></TableColumn><TableColumn><Width>1in</Width></TableColumn></TableColumns><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox11"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox11</DefaultName><ZIndex>7</ZIndex><Value>Mailbox</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox3"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox3</DefaultName><ZIndex>6</ZIndex><Value>Server</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox4"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox4</DefaultName><ZIndex>5</ZIndex><Value>Size(MB)</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox5"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox5</DefaultName><ZIndex>4</ZIndex><Value>Message Count</Value></Textbox></ReportItems></TableCell></TableCells><Height>0.375in</Height></TableRow></TableRows><RepeatOnNewPage>true</RepeatOnNewPage></Header><Details><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="InstanceName"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">InstanceName</DefaultName><ZIndex>3</ZIndex><Value>=Fields!InstanceName.Value</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="Server"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">Server</DefaultName><ZIndex>2</ZIndex><Value>=Fields!Server.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="TotalMB"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Format>F</Format><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">TotalMB</DefaultName><ZIndex>1</ZIndex><Value>=Fields!TotalMB.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="TotalMsgCount"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Format>F</Format><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">TotalMsgCount</DefaultName><Value>=Fields!TotalMsgCount.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting></Details></Table></ReportItems><Style><BorderWidth><Default>0.5pt</Default></BorderWidth></Style><Height>2.5in</Height><ColumnSpacing>0.25in</ColumnSpacing></Body><TopMargin>1in</TopMargin><DataSources><DataSource Name="SCDW"><rd:DataSourceID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">fb44cba7-75a7-4314-b2a5-1fce44701d23</rd:DataSourceID><DataSourceReference>SCDW</DataSourceReference></DataSource></DataSources><Code>public function CurrentTimeZone() as string 
	CurrentTimeZone = System.TimeZone.CurrentTimeZone.StandardName
end function

public function FormatNumber(fieldValue, formatString) as string 
	if (fieldValue is Nothing)
		FormatNumber = "Not Available"
	else
		FormatNumber = Format(fieldValue,formatString)
	end if
end function
</Code><Width>6.5in</Width><DataSets><DataSet Name="CurrentDate"><Fields><Field Name="BeginDate"><DataField>BeginDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="EndDate"><DataField>EndDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     BeginDate, EndDate
FROM         fn_GetDateRange(7) fn_GetDateRange</CommandText><Timeout>0</Timeout></Query></DataSet><DataSet Name="ComputerList"><Fields><Field Name="Computer"><DataField>Computer</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT DISTINCT SourceClassInstanceKeyValue AS Computer
FROM         [SC_Class_Rel_Computer-Exchange_View]
UNION
SELECT     '&lt;ALL&gt;'
ORDER BY Computer</CommandText><Timeout>3000000</Timeout></Query></DataSet><DataSet Name="CompGroup"><Fields><Field Name="CompGroup"><DataField>CompGroup</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     CompGroup
FROM         fn_ListComputerGroups()</CommandText><Timeout>3000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet><DataSet Name="ExchangeMailboxes"><Fields><Field Name="InstanceName"><DataField>InstanceName</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="Server"><DataField>Server</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="TotalMsgCount"><DataField>TotalMsgCount</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="TotalMB"><DataField>TotalMB</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT 	Top 100 
	InstanceName, 
	Server, 
	ROUND(AVG(MsgCount), 0) AS TotalMsgCount, 
	AVG(TotalMB) AS TotalMB
from 
(SELECT  
	InstanceName 	=CDD.InstanceName_PK,
	[Time] 		= SND.LocalDateTimeSampled, 
	Server 		= CD.FullComputerName,
	TotalMB		= CASE WHEN( CDD.ObjectName_PK='McExchDG' and CDD.CounterName_PK='Mailbox MB') then SND.SampleValue END ,
	MsgCount	= CASE WHEN( CDD.ObjectName_PK='McExchDG' and CDD.CounterName_PK='Mailbox Message Count') then SND.SampleValue END 
FROM          
	dbo.SC_SampledNumericDataFact_View SND INNER JOIN
        dbo.SC_CounterDetailDimension_View CDD ON CDD.SMC_InstanceID = SND.CounterDetail_FK INNER JOIN
        dbo.SC_ComputerDimension_View CD ON CD.SMC_InstanceID = SND.Computer_FK 
WHERE   
	CDD.ObjectName_PK in ('McExchDG') AND CDD.CounterName_PK in ( 'Mailbox MB','Mailbox Message Count')and SND.LocalDateTimeSampled between @BeginDate and @EndDate and (@Computer='&lt;ALL&gt;' or CD.FullComputerName =@Computer)
) temp
group by InstanceName,Server
order by AVG(TotalMB)</CommandText><QueryParameters><QueryParameter Name="@BeginDate"><Value>=Parameters!BeginDate.Value</Value></QueryParameter><QueryParameter Name="@EndDate"><Value>=Parameters!EndDate.Value</Value></QueryParameter><QueryParameter Name="@Computer"><Value>=Parameters!Computer.Value</Value></QueryParameter></QueryParameters><Timeout>300000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet></DataSets><LeftMargin>1in</LeftMargin><rd:SnapToGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:SnapToGrid><rd:DrawGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:DrawGrid><Description /><rd:ReportID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">212d782b-9718-4b8d-a1c1-2bd72afd7b82</rd:ReportID><PageFooter><ReportItems><Textbox Name="textboxPageNumber_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.25in</Top><Height>0.25in</Height><Value>="Page " &amp; Globals.PageNumber &amp; "/" &amp; Globals.TotalPages</Value><Left>4in</Left></Textbox><Textbox Name="textbox1DateTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><Top>0.25in</Top><Height>0.25in</Height><Width>4in</Width><Value>="All dates and  times shown in " &amp; Code.CurrentTimeZone()</Value></Textbox></ReportItems><PrintOnLastPage>true</PrintOnLastPage><PrintOnFirstPage>true</PrintOnFirstPage><Style /><Height>0.55in</Height></PageFooter><BottomMargin>1in</BottomMargin><ReportParameters><ReportParameter Name="BeginDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>BeginDate</ValueField></DataSetReference></DefaultValue><Prompt>Begin Date</Prompt></ReportParameter><ReportParameter Name="EndDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>EndDate</ValueField></DataSetReference></DefaultValue><Prompt>End Date</Prompt></ReportParameter><ReportParameter Name="Computer"><DataType>String</DataType><Prompt>Server</Prompt><ValidValues><DataSetReference><DataSetName>ComputerList</DataSetName><ValueField>Computer</ValueField><LabelField>Computer</LabelField></DataSetReference></ValidValues></ReportParameter><ReportParameter Name="SortBy"><DataType>String</DataType><DefaultValue><Values><Value>TotalMB</Value></Values></DefaultValue><Prompt>Sort By</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Server</Value></ParameterValue><ParameterValue><Value>InstanceName</Value><Label>Mailbox</Label></ParameterValue><ParameterValue><Value>TotalMB</Value><Label>Size(MB)</Label></ParameterValue><ParameterValue><Value>TotalMsgCount</Value><Label>Message Count</Label></ParameterValue></ParameterValues></ValidValues></ReportParameter><ReportParameter Name="Direction"><DataType>String</DataType><DefaultValue><Values><Value>Descending</Value></Values></DefaultValue><Prompt>Sort Order</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Ascending</Value></ParameterValue><ParameterValue><Value>Descending</Value></ParameterValue></ParameterValues></ValidValues></ReportParameter></ReportParameters></Report>]]></ReportDefinition>
  </ReportItem>
  <ReportItem>
    <Name>Top 100 Public Folders by Message Count</Name>
    <Type>Report</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/Exchange Mailbox and Folder Sizes/Top 100 Public Folders by Message Count</Path>
    <ReportDefinition><![CDATA[<?xml version='1.0' encoding='utf-8'?><Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportdefinition"><rd:GridSpacing xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">0.05in</rd:GridSpacing><RightMargin>1in</RightMargin><Body><ReportItems><Textbox Name="textboxRightLogo"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/2Inch_Logo.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>6</ZIndex><Height>0.5625in</Height><Value /><Left>4.5in</Left></Textbox><Textbox Name="textboxReportTitle_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/4.5Inch_Banner.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>5</ZIndex><Height>0.5625in</Height><Width>4.5in</Width><Value>Top 100 Public Folders (by Message Count)</Value></Textbox><Textbox Name="textboxExecutionTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>4</ZIndex><Top>0.5625in</Top><Height>0.25in</Height><Value>=Globals.ExecutionTime</Value><Left>4.5in</Left></Textbox><Textbox Name="textboxParameterValue_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.375in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!Computer.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterValue_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.25in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!BeginDate.Value &amp; " - " &amp; Parameters!EndDate.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterName_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.375in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Server :</Value></Textbox><Textbox Name="textboxParameterName_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.25in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Date Range :</Value></Textbox><Textbox Name="textboxDescription_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>GhostWhite</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.8125in</Top><ToggleImage><InitialState>true</InitialState></ToggleImage><Height>0.375in</Height><Visibility><ToggleItem>textboxDescriptionHeading_tmp</ToggleItem><Hidden>true</Hidden></Visibility><CanGrow>true</CanGrow><Value>= "This report provides a list of the 100 Exchange public folders containing the most messages based of average message count during the specified time period. The report presents average Message Count and average Size (in MB) for the public folders. Data is ordered by average message count, starting with the highest count."  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "The following rules need to be enabled for data to be collected:"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "	For Exchange 2000 Server:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server\Exchange 2000\Server Utilization Logging:Reports and views\"  &amp; VbCrLf &amp;  "–       Report Collection - Public Folder Statistics"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "	For Exchange Server 2003:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server\Exchange 2003\Report Collection Rules\Mailbox Statistics Analysis\"  &amp; VbCrLf &amp;  "–       Report Collection - Public Folder Statistics" </Value></Textbox><Textbox Name="textboxDescriptionHeading_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><Top>0.5625in</Top><Height>0.25in</Height><Width>4.5in</Width><CanGrow>true</CanGrow><Value>Description</Value></Textbox><Table Name="table1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle></Style><Top>1.75in</Top><ZIndex>1</ZIndex><NoRows>= "There is no data available for this report. This can occur when there is no relevant data available for collection, the reports’ dependent rules are not enabled or when none of the relevant data has been copied to the Reporting database." </NoRows><DataSetName>ExchangePublicFolders</DataSetName><TableColumns><TableColumn><Width>2.25in</Width></TableColumn><TableColumn><Width>2.5in</Width></TableColumn><TableColumn><Width>0.875in</Width></TableColumn><TableColumn><Width>0.875in</Width></TableColumn></TableColumns><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox11"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox11</DefaultName><ZIndex>7</ZIndex><Value>Folder</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox3"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox3</DefaultName><ZIndex>6</ZIndex><Value>Server</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox4"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox4</DefaultName><ZIndex>5</ZIndex><Value>Size(MB)</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox5"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox5</DefaultName><ZIndex>4</ZIndex><Value>Message Count</Value></Textbox></ReportItems></TableCell></TableCells><Height>0.375in</Height></TableRow></TableRows><RepeatOnNewPage>true</RepeatOnNewPage></Header><Details><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="InstanceName"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">InstanceName</DefaultName><ZIndex>3</ZIndex><Value>=Fields!InstanceName.Value</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="Server"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">Server</DefaultName><ZIndex>2</ZIndex><Value>=Fields!Server.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="TotalMB"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Format>F</Format><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">TotalMB</DefaultName><ZIndex>1</ZIndex><Value>=Fields!TotalMB.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="TotalMsgCount"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Format>F</Format><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">TotalMsgCount</DefaultName><Value>=Fields!TotalMsgCount.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting></Details></Table></ReportItems><Style><BorderWidth><Default>0.5pt</Default></BorderWidth></Style><Height>2.5in</Height><ColumnSpacing>0.25in</ColumnSpacing></Body><TopMargin>1in</TopMargin><DataSources><DataSource Name="SCDW"><rd:DataSourceID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">fb44cba7-75a7-4314-b2a5-1fce44701d23</rd:DataSourceID><DataSourceReference>SCDW</DataSourceReference></DataSource></DataSources><Code>public function CurrentTimeZone() as string 
	CurrentTimeZone = System.TimeZone.CurrentTimeZone.StandardName
end function

public function FormatNumber(fieldValue, formatString) as string 
	if (fieldValue is Nothing)
		FormatNumber = "Not Available"
	else
		FormatNumber = Format(fieldValue,formatString)
	end if
end function
</Code><Width>6.5in</Width><DataSets><DataSet Name="CurrentDate"><Fields><Field Name="BeginDate"><DataField>BeginDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="EndDate"><DataField>EndDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     BeginDate, EndDate
FROM         fn_GetDateRange(7) fn_GetDateRange</CommandText><Timeout>0</Timeout></Query></DataSet><DataSet Name="ComputerList"><Fields><Field Name="Computer"><DataField>Computer</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT DISTINCT SourceClassInstanceKeyValue AS Computer
FROM         [SC_Class_Rel_Computer-Exchange_View]
UNION
SELECT     '&lt;ALL&gt;'
ORDER BY Computer</CommandText><Timeout>3000000</Timeout></Query></DataSet><DataSet Name="CompGroup"><Fields><Field Name="CompGroup"><DataField>CompGroup</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     CompGroup
FROM         fn_ListComputerGroups()</CommandText><Timeout>3000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet><DataSet Name="ExchangePublicFolders"><Fields><Field Name="InstanceName"><DataField>InstanceName</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="Server"><DataField>Server</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="TotalMsgCount"><DataField>TotalMsgCount</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="TotalMB"><DataField>TotalMB</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT 	Top 100 
	InstanceName, 
	Server, 
	ROUND(AVG(MsgCount), 0) AS TotalMsgCount, 
	AVG(TotalMB) AS TotalMB
from 
(SELECT  
	InstanceName 	=CDD.InstanceName_PK,
	[Time] 		= SND.LocalDateTimeSampled, 
	Server 		= CD.FullComputerName,
	TotalMB		= CASE WHEN( CDD.ObjectName_PK='McExchDG' and CDD.CounterName_PK='Public Folder MB') then SND.SampleValue END ,
	MsgCount	= CASE WHEN( CDD.ObjectName_PK='McExchDG' and CDD.CounterName_PK='Public Folder Message Count') then SND.SampleValue END 
FROM          
	dbo.SC_SampledNumericDataFact_View SND INNER JOIN
        dbo.SC_CounterDetailDimension_View CDD ON CDD.SMC_InstanceID = SND.CounterDetail_FK INNER JOIN
        dbo.SC_ComputerDimension_View CD ON CD.SMC_InstanceID = SND.Computer_FK 
WHERE   
	CDD.ObjectName_PK in ('McExchDG') AND CDD.CounterName_PK in( 'Public Folder MB','Public Folder Message Count') 
and SND.LocalDateTimeSampled between @BeginDate and @EndDate and (@Computer='&lt;ALL&gt;' or CD.FullComputerName =@Computer)
) temp
group by InstanceName,Server
order by ROUND(AVG(MsgCount), 0)</CommandText><QueryParameters><QueryParameter Name="@BeginDate"><Value>=Parameters!BeginDate.Value</Value></QueryParameter><QueryParameter Name="@EndDate"><Value>=Parameters!EndDate.Value</Value></QueryParameter><QueryParameter Name="@Computer"><Value>=Parameters!Computer.Value</Value></QueryParameter></QueryParameters><Timeout>300000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet></DataSets><LeftMargin>1in</LeftMargin><rd:SnapToGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:SnapToGrid><rd:DrawGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:DrawGrid><Description /><rd:ReportID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">212d782b-9718-4b8d-a1c1-2bd72afd7b82</rd:ReportID><PageFooter><ReportItems><Textbox Name="textboxPageNumber_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.25in</Top><Height>0.25in</Height><Value>="Page " &amp; Globals.PageNumber &amp; "/" &amp; Globals.TotalPages</Value><Left>4in</Left></Textbox><Textbox Name="textbox1DateTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><Top>0.25in</Top><Height>0.25in</Height><Width>4in</Width><Value>="All dates and  times shown in " &amp; Code.CurrentTimeZone()</Value></Textbox></ReportItems><PrintOnLastPage>true</PrintOnLastPage><PrintOnFirstPage>true</PrintOnFirstPage><Style /><Height>0.55in</Height></PageFooter><BottomMargin>1in</BottomMargin><ReportParameters><ReportParameter Name="BeginDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>BeginDate</ValueField></DataSetReference></DefaultValue><Prompt>Begin Date</Prompt></ReportParameter><ReportParameter Name="EndDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>EndDate</ValueField></DataSetReference></DefaultValue><Prompt>End Date</Prompt></ReportParameter><ReportParameter Name="Computer"><DataType>String</DataType><Prompt>Server</Prompt><ValidValues><DataSetReference><DataSetName>ComputerList</DataSetName><ValueField>Computer</ValueField><LabelField>Computer</LabelField></DataSetReference></ValidValues></ReportParameter><ReportParameter Name="SortBy"><DataType>String</DataType><DefaultValue><Values><Value>TotalMsgCount</Value></Values></DefaultValue><Prompt>Sort By</Prompt><ValidValues><ParameterValues><ParameterValue><Value>InstanceName</Value><Label>Folder</Label></ParameterValue><ParameterValue><Value>Server</Value></ParameterValue><ParameterValue><Value>TotalMB</Value><Label>Size(MB)</Label></ParameterValue><ParameterValue><Value>TotalMsgCount</Value><Label>Message Count</Label></ParameterValue></ParameterValues></ValidValues></ReportParameter><ReportParameter Name="Direction"><DataType>String</DataType><DefaultValue><Values><Value>Descending</Value></Values></DefaultValue><Prompt>Sort Order</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Ascending</Value></ParameterValue><ParameterValue><Value>Descending</Value></ParameterValue></ParameterValues></ValidValues></ReportParameter></ReportParameters></Report>]]></ReportDefinition>
  </ReportItem>
  <ReportItem>
    <Name>Top 100 Public Folders by Size</Name>
    <Type>Report</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/Exchange Mailbox and Folder Sizes/Top 100 Public Folders by Size</Path>
    <ReportDefinition><![CDATA[<?xml version='1.0' encoding='utf-8'?><Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportdefinition"><rd:GridSpacing xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">0.05in</rd:GridSpacing><RightMargin>1in</RightMargin><Body><ReportItems><Textbox Name="textboxRightLogo"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/2Inch_Logo.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>6</ZIndex><Height>0.5625in</Height><Value /><Left>4.5in</Left></Textbox><Textbox Name="textboxReportTitle_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderWidth><Default>0.25pt</Default></BorderWidth><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>11pt</FontSize><BackgroundImage><BackgroundRepeat>NoRepeat</BackgroundRepeat><Source>External</Source><Value>/Microsoft Operations Manager Reporting/Images/4.5Inch_Banner.png</Value></BackgroundImage><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>5</ZIndex><Height>0.5625in</Height><Width>4.5in</Width><Value>Top 100 Public Folders (by Size)</Value></Textbox><Textbox Name="textboxExecutionTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>4</ZIndex><Top>0.5625in</Top><Height>0.25in</Height><Value>=Globals.ExecutionTime</Value><Left>4.5in</Left></Textbox><Textbox Name="textboxParameterValue_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.375in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!Computer.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterValue_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Left</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>3</ZIndex><Top>1.25in</Top><Height>0.125in</Height><CanGrow>true</CanGrow><Value>=Parameters!BeginDate.Value &amp; " - " &amp; Parameters!EndDate.Value</Value><Left>3in</Left></Textbox><Textbox Name="textboxParameterName_tmp1"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.375in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Server :</Value></Textbox><Textbox Name="textboxParameterName_tmp0"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><ZIndex>2</ZIndex><Top>1.25in</Top><Height>0.125in</Height><Width>3in</Width><CanGrow>true</CanGrow><Value>Date Range :</Value></Textbox><Textbox Name="textboxDescription_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>GhostWhite</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.8125in</Top><ToggleImage><InitialState>true</InitialState></ToggleImage><Height>0.375in</Height><Visibility><ToggleItem>textboxDescriptionHeading_tmp</ToggleItem><Hidden>true</Hidden></Visibility><CanGrow>true</CanGrow><Value>= "This report provides a list of the largest 100 Exchange public folders based on average folder size during the specified time period. The report presents average Message Count and average Size (in MB) for the public folders. Data is ordered by average folder size, starting with the largest size."  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "The following rules need to be enabled for data to be collected:"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "	For Exchange 2000 Server:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server\Exchange 2000\Server Utilization Logging:Reports and views\"  &amp; VbCrLf &amp;  "–       Report Collection - Public Folder Statistics"  &amp; VbCrLf &amp;  ""  &amp; VbCrLf &amp;  "	For Exchange Server 2003:"  &amp; VbCrLf &amp;  "–       Microsoft Exchange Server\Exchange 2003\Report Collection Rules\Mailbox Statistics Analysis\"  &amp; VbCrLf &amp;  "–       Report Collection - Public Folder Statistics" </Value></Textbox><Textbox Name="textboxDescriptionHeading_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight><FontWeight>700</FontWeight></Style><Top>0.5625in</Top><Height>0.25in</Height><Width>4.5in</Width><CanGrow>true</CanGrow><Value>Description</Value></Textbox><Table Name="table1"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle></Style><Top>1.75in</Top><ZIndex>1</ZIndex><NoRows>= "There is no data available for this report. This can occur when there is no relevant data available for collection, the reports’ dependent rules are not enabled or when none of the relevant data has been copied to the Reporting database." </NoRows><DataSetName>ExchangePublicFolders</DataSetName><TableColumns><TableColumn><Width>2.25in</Width></TableColumn><TableColumn><Width>2.5in</Width></TableColumn><TableColumn><Width>0.875in</Width></TableColumn><TableColumn><Width>0.875in</Width></TableColumn></TableColumns><Header><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="textbox11"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox11</DefaultName><ZIndex>7</ZIndex><Value>Folder</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox3"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox3</DefaultName><ZIndex>6</ZIndex><Value>Server</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox4"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox4</DefaultName><ZIndex>5</ZIndex><Value>Size(MB)</Value></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="textbox5"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><BackgroundColor>WhiteSmoke</BackgroundColor><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><FontWeight>700</FontWeight><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">textbox5</DefaultName><ZIndex>4</ZIndex><Value>Message Count</Value></Textbox></ReportItems></TableCell></TableCells><Height>0.375in</Height></TableRow></TableRows><RepeatOnNewPage>true</RepeatOnNewPage></Header><Details><TableRows><TableRow><TableCells><TableCell><ReportItems><Textbox Name="InstanceName"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">InstanceName</DefaultName><ZIndex>3</ZIndex><Value>=Fields!InstanceName.Value</Value><CanGrow>true</CanGrow></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="Server"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">Server</DefaultName><ZIndex>2</ZIndex><Value>=Fields!Server.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="TotalMB"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Format>F</Format><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">TotalMB</DefaultName><ZIndex>1</ZIndex><Value>=Fields!TotalMB.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell><TableCell><ReportItems><Textbox Name="TotalMsgCount"><Style><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Default>Solid</Default></BorderStyle><FontFamily>Verdana</FontFamily><FontSize>8pt</FontSize><Format>F</Format><TextAlign>Right</TextAlign><Color>#000000</Color><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style><DefaultName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">TotalMsgCount</DefaultName><Value>=Fields!TotalMsgCount.Value</Value><CanGrow>true</CanGrow><CanShrink>true</CanShrink></Textbox></ReportItems></TableCell></TableCells><Height>0.25in</Height></TableRow></TableRows><Sorting><SortBy><SortExpression>=iif(Parameters!Direction.Value="Ascending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Ascending</Direction></SortBy><SortBy><SortExpression>=iif(Parameters!Direction.Value="Descending",Fields(Parameters!SortBy.Value).Value,0)</SortExpression><Direction>Descending</Direction></SortBy></Sorting></Details></Table></ReportItems><Style><BorderWidth><Default>0.5pt</Default></BorderWidth></Style><Height>2.5in</Height><ColumnSpacing>0.25in</ColumnSpacing></Body><TopMargin>1in</TopMargin><DataSources><DataSource Name="SCDW"><rd:DataSourceID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">fb44cba7-75a7-4314-b2a5-1fce44701d23</rd:DataSourceID><DataSourceReference>SCDW</DataSourceReference></DataSource></DataSources><Code>public function CurrentTimeZone() as string 
	CurrentTimeZone = System.TimeZone.CurrentTimeZone.StandardName
end function

public function FormatNumber(fieldValue, formatString) as string 
	if (fieldValue is Nothing)
		FormatNumber = "Not Available"
	else
		FormatNumber = Format(fieldValue,formatString)
	end if
end function
</Code><Width>6.5in</Width><DataSets><DataSet Name="CurrentDate"><Fields><Field Name="BeginDate"><DataField>BeginDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field><Field Name="EndDate"><DataField>EndDate</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.DateTime</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     BeginDate, EndDate
FROM         fn_GetDateRange(7) fn_GetDateRange</CommandText><Timeout>0</Timeout></Query></DataSet><DataSet Name="ComputerList"><Fields><Field Name="Computer"><DataField>Computer</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT DISTINCT SourceClassInstanceKeyValue AS Computer
FROM         [SC_Class_Rel_Computer-Exchange_View]
UNION
SELECT     '&lt;ALL&gt;'
ORDER BY Computer</CommandText><Timeout>3000000</Timeout></Query></DataSet><DataSet Name="CompGroup"><Fields><Field Name="CompGroup"><DataField>CompGroup</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT     CompGroup
FROM         fn_ListComputerGroups()</CommandText><Timeout>3000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet><DataSet Name="ExchangePublicFolders"><Fields><Field Name="InstanceName"><DataField>InstanceName</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="Server"><DataField>Server</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.String</TypeName></Field><Field Name="TotalMsgCount"><DataField>TotalMsgCount</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field><Field Name="TotalMB"><DataField>TotalMB</DataField><TypeName xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">System.Double</TypeName></Field></Fields><Query><DataSourceName>SCDW</DataSourceName><CommandText>SELECT 	Top 100 
	InstanceName, 
	Server, 
	ROUND(AVG(MsgCount), 0) AS TotalMsgCount, 
	AVG(TotalMB) AS TotalMB
from 
(SELECT  
	InstanceName 	=CDD.InstanceName_PK,
	[Time] 		= SND.LocalDateTimeSampled, 
	Server 		= CD.FullComputerName,
	TotalMB		= CASE WHEN( CDD.ObjectName_PK='McExchDG' and CDD.CounterName_PK='Public Folder MB') then SND.SampleValue END ,
	MsgCount	= CASE WHEN( CDD.ObjectName_PK='McExchDG' and CDD.CounterName_PK='Public Folder Message Count') then SND.SampleValue END 
FROM          
	dbo.SC_SampledNumericDataFact_View SND INNER JOIN
        dbo.SC_CounterDetailDimension_View CDD ON CDD.SMC_InstanceID = SND.CounterDetail_FK INNER JOIN
        dbo.SC_ComputerDimension_View CD ON CD.SMC_InstanceID = SND.Computer_FK 
WHERE   
	CDD.ObjectName_PK in ('McExchDG') AND CDD.CounterName_PK in( 'Public Folder MB','Public Folder Message Count') and SND.LocalDateTimeSampled between @BeginDate and @EndDate and (@Computer='&lt;ALL&gt;' or CD.FullComputerName =@Computer)
) temp
group by InstanceName,Server
order by AVG(TotalMB)</CommandText><QueryParameters><QueryParameter Name="@BeginDate"><Value>=Parameters!BeginDate.Value</Value></QueryParameter><QueryParameter Name="@EndDate"><Value>=Parameters!EndDate.Value</Value></QueryParameter><QueryParameter Name="@Computer"><Value>=Parameters!Computer.Value</Value></QueryParameter></QueryParameters><Timeout>300000000</Timeout><UseGenericDesigner xmlns="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</UseGenericDesigner></Query></DataSet></DataSets><LeftMargin>1in</LeftMargin><rd:SnapToGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:SnapToGrid><rd:DrawGrid xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">true</rd:DrawGrid><Description /><rd:ReportID xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">212d782b-9718-4b8d-a1c1-2bd72afd7b82</rd:ReportID><PageFooter><ReportItems><Textbox Name="textboxPageNumber_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><TextAlign>Right</TextAlign><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><ZIndex>1</ZIndex><Top>0.25in</Top><Height>0.25in</Height><Value>="Page " &amp; Globals.PageNumber &amp; "/" &amp; Globals.TotalPages</Value><Left>4in</Left></Textbox><Textbox Name="textbox1DateTime_tmp"><Style><PaddingLeft>2pt</PaddingLeft><FontFamily>Verdana</FontFamily><BackgroundColor>WhiteSmoke</BackgroundColor><BorderColor><Default>LightGrey</Default></BorderColor><BorderStyle><Bottom>None</Bottom><Top>None</Top><Left>None</Left></BorderStyle><FontSize>8pt</FontSize><PaddingBottom>2pt</PaddingBottom><PaddingTop>2pt</PaddingTop><PaddingRight>2pt</PaddingRight></Style><Top>0.25in</Top><Height>0.25in</Height><Width>4in</Width><Value>="All dates and  times shown in " &amp; Code.CurrentTimeZone()</Value></Textbox></ReportItems><PrintOnLastPage>true</PrintOnLastPage><PrintOnFirstPage>true</PrintOnFirstPage><Style /><Height>0.55in</Height></PageFooter><BottomMargin>1in</BottomMargin><ReportParameters><ReportParameter Name="BeginDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>BeginDate</ValueField></DataSetReference></DefaultValue><Prompt>Begin Date</Prompt></ReportParameter><ReportParameter Name="EndDate"><DataType>DateTime</DataType><DefaultValue><DataSetReference><DataSetName>CurrentDate</DataSetName><ValueField>EndDate</ValueField></DataSetReference></DefaultValue><Prompt>End Date</Prompt></ReportParameter><ReportParameter Name="Computer"><DataType>String</DataType><Prompt>Server</Prompt><ValidValues><DataSetReference><DataSetName>ComputerList</DataSetName><ValueField>Computer</ValueField><LabelField>Computer</LabelField></DataSetReference></ValidValues></ReportParameter><ReportParameter Name="SortBy"><DataType>String</DataType><DefaultValue><Values><Value>TotalMB</Value></Values></DefaultValue><Prompt>Sort By</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Server</Value></ParameterValue><ParameterValue><Value>InstanceName</Value><Label>Folder</Label></ParameterValue><ParameterValue><Value>TotalMB</Value><Label>Size(MB)</Label></ParameterValue><ParameterValue><Value>TotalMsgCount</Value><Label>Message Count</Label></ParameterValue></ParameterValues></ValidValues></ReportParameter><ReportParameter Name="Direction"><DataType>String</DataType><DefaultValue><Values><Value>Descending</Value></Values></DefaultValue><Prompt>Sort Order</Prompt><ValidValues><ParameterValues><ParameterValue><Value>Ascending</Value></ParameterValue><ParameterValue><Value>Descending</Value></ParameterValue></ParameterValues></ValidValues></ReportParameter></ReportParameters></Report>]]></ReportDefinition>
  </ReportItem>
  <ReportItem>
    <Name>SCDW</Name>
    <Type>DataSource</Type>
    <Path>/Microsoft Operations Manager Reporting/Microsoft Exchange Server/Exchange Mailbox and Folder Sizes/SCDW</Path>
    <DataSourceDefinitionContainer><![CDATA[<?xml version="1.0"?>
<DataSourceDefinition xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Extension xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">SQL</Extension>
  <ConnectString xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">data source=.;initial catalog=SystemCenterReporting</ConnectString>
  <CredentialRetrieval xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">Integrated</CredentialRetrieval>
  <WindowsCredentials xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">false</WindowsCredentials>
  <ImpersonateUser xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">false</ImpersonateUser>
  <Prompt xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">Enter a user name and password to access the data source:</Prompt>
  <Enabled xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">true</Enabled>
</DataSourceDefinition>]]></DataSourceDefinitionContainer>
  </ReportItem>
</ReportCollection>