diff --git a/.gitignore b/.gitignore index 81f96e3..c1e0a79 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,293 @@ +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. +## +## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore + +# User-specific files *.suo -bin -obj -*.pyc -.DS_Store +*.user +*.userosscache +*.sln.docstates + +# User-specific files (MonoDevelop/Xamarin Studio) *.userprefs -.vs + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +bld/ +[Bb]in/ +[Oo]bj/ +[Ll]og/ + +# Visual Studio 2015 cache/options directory +.vs/ +# Uncomment if you have tasks that create the project's static files in wwwroot +#wwwroot/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +# NUNIT +*.VisualState.xml +TestResult.xml + +# Build Results of an ATL Project +[Dd]ebugPS/ +[Rr]eleasePS/ +dlldata.c + +# .NET Core +project.lock.json +project.fragment.lock.json +artifacts/ +**/Properties/launchSettings.json + +*_i.c +*_p.c +*_i.h +*.ilk +*.meta +*.obj +*.pch +*.pdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*.log +*.vspscc +*.vssscc +.builds +*.pidb +*.svclog +*.scc + +# Chutzpah Test files +_Chutzpah* + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opendb +*.opensdf +*.sdf +*.cachefile +*.VC.db +*.VC.VC.opendb + +# Visual Studio profiler +*.psess +*.vsp +*.vspx +*.sap + +# TFS 2012 Local Workspace +$tf/ + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user + +# JustCode is a .NET coding add-in +.JustCode + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# Visual Studio code coverage results +*.coverage +*.coveragexml + +# NCrunch +_NCrunch_* +.*crunch*.local.xml +nCrunchTemp_* + +# MightyMoose +*.mm.* +AutoTest.Net/ + +# Web workbench (sass) +.sass-cache/ + +# Installshield output folder +[Ee]xpress/ + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish/ + +# Publish Web Output +*.[Pp]ublish.xml +*.azurePubxml +# TODO: Comment the next line if you want to checkin your web deploy settings +# but database connection strings (with potential passwords) will be unencrypted +*.pubxml +*.publishproj + +# Microsoft Azure Web App publish settings. Comment the next line if you want to +# checkin your Azure Web App publish settings, but sensitive information contained +# in these scripts will be unencrypted +PublishScripts/ + +# NuGet Packages +*.nupkg +# The packages folder can be ignored because of Package Restore +**/packages/* +# except build/, which is used as an MSBuild target. +!**/packages/build/ +# Uncomment if necessary however generally it will be regenerated when needed +#!**/packages/repositories.config +# NuGet v3's project.json files produces more ignorable files +*.nuget.props +*.nuget.targets + +# Microsoft Azure Build Output +csx/ +*.build.csdef + +# Microsoft Azure Emulator +ecf/ +rcf/ + +# Windows Store app package directories and files +AppPackages/ +BundleArtifacts/ +Package.StoreAssociation.xml +_pkginfo.txt +*.appx + +# Visual Studio cache files +# files ending in .cache can be ignored +*.[Cc]ache +# but keep track of directories ending in .cache +!*.[Cc]ache/ + +# Others +ClientBin/ +~$* +*~ +*.dbmdl +*.dbproj.schemaview +*.jfm +*.pfx +*.publishsettings +orleans.codegen.cs + +# Since there are multiple workflows, uncomment next line to ignore bower_components +# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) +#bower_components/ + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file +# to a newer Visual Studio version. Backup files are not needed, +# because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm + +# SQL Server files +*.mdf +*.ldf +*.ndf + +# Business Intelligence projects +*.rdl.data +*.bim.layout +*.bim_*.settings + +# Microsoft Fakes +FakesAssemblies/ + +# GhostDoc plugin setting file +*.GhostDoc.xml + +# Node.js Tools for Visual Studio +.ntvs_analysis.dat +node_modules/ + +# Typescript v1 declaration files +typings/ + +# Visual Studio 6 build log +*.plg + +# Visual Studio 6 workspace options file +*.opt + +# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) +*.vbw + +# Visual Studio LightSwitch build output +**/*.HTMLClient/GeneratedArtifacts +**/*.DesktopClient/GeneratedArtifacts +**/*.DesktopClient/ModelManifest.xml +**/*.Server/GeneratedArtifacts +**/*.Server/ModelManifest.xml +_Pvt_Extensions + +# Paket dependency manager +.paket/paket.exe +paket-files/ + +# FAKE - F# Make +.fake/ + +# JetBrains Rider +.idea/ +*.sln.iml + +# CodeRush +.cr/ + +# Python Tools for Visual Studio (PTVS) +__pycache__/ +*.pyc + +# Cake - Uncomment if you are using it +# tools/** +# !tools/packages.config + +# Telerik's JustMock configuration file +*.jmconfig + +# BizTalk build output +*.btp.cs +*.btm.cs +*.odx.cs +*.xsd.cs + +# Python +.idea/workspace.xml +venv diff --git a/IssNotifyApiWrapper/CSharp/ISS_Notify_Wrapper.cs b/APIs/IssNotifyApiWrapper/CSharp/ISS_Notify_Wrapper.cs similarity index 100% rename from IssNotifyApiWrapper/CSharp/ISS_Notify_Wrapper.cs rename to APIs/IssNotifyApiWrapper/CSharp/ISS_Notify_Wrapper.cs diff --git a/IssNotifyApiWrapper/CSharp/ISS_Notify_Wrapper.csproj b/APIs/IssNotifyApiWrapper/CSharp/ISS_Notify_Wrapper.csproj similarity index 100% rename from IssNotifyApiWrapper/CSharp/ISS_Notify_Wrapper.csproj rename to APIs/IssNotifyApiWrapper/CSharp/ISS_Notify_Wrapper.csproj diff --git a/IssNotifyApiWrapper/CSharp/ISS_Notify_Wrapper.sln b/APIs/IssNotifyApiWrapper/CSharp/ISS_Notify_Wrapper.sln similarity index 100% rename from IssNotifyApiWrapper/CSharp/ISS_Notify_Wrapper.sln rename to APIs/IssNotifyApiWrapper/CSharp/ISS_Notify_Wrapper.sln diff --git a/IssNotifyApiWrapper/CSharp/Program.cs b/APIs/IssNotifyApiWrapper/CSharp/Program.cs similarity index 100% rename from IssNotifyApiWrapper/CSharp/Program.cs rename to APIs/IssNotifyApiWrapper/CSharp/Program.cs diff --git a/IssNotifyApiWrapper/CSharp/Properties/AssemblyInfo.cs b/APIs/IssNotifyApiWrapper/CSharp/Properties/AssemblyInfo.cs similarity index 100% rename from IssNotifyApiWrapper/CSharp/Properties/AssemblyInfo.cs rename to APIs/IssNotifyApiWrapper/CSharp/Properties/AssemblyInfo.cs diff --git a/IssNotifyApiWrapper/CSharp/packages.config b/APIs/IssNotifyApiWrapper/CSharp/packages.config similarity index 100% rename from IssNotifyApiWrapper/CSharp/packages.config rename to APIs/IssNotifyApiWrapper/CSharp/packages.config diff --git a/IssNotifyApiWrapper/Python/iss/__init__.py b/APIs/IssNotifyApiWrapper/Python/iss/__init__.py similarity index 100% rename from IssNotifyApiWrapper/Python/iss/__init__.py rename to APIs/IssNotifyApiWrapper/Python/iss/__init__.py diff --git a/IssNotifyApiWrapper/Python/iss/iss_api_wrapper.py b/APIs/IssNotifyApiWrapper/Python/iss/iss_api_wrapper.py similarity index 100% rename from IssNotifyApiWrapper/Python/iss/iss_api_wrapper.py rename to APIs/IssNotifyApiWrapper/Python/iss/iss_api_wrapper.py diff --git a/IssNotifyApiWrapper/Python/use_iss.py b/APIs/IssNotifyApiWrapper/Python/use_iss.py similarity index 100% rename from IssNotifyApiWrapper/Python/use_iss.py rename to APIs/IssNotifyApiWrapper/Python/use_iss.py diff --git a/AmazonProductAdvertisingApiBlogPost/AmazonProductAdvertSig-Net/AmazonProductAdvertSig1/Program.cs b/AmazonProductAdvertisingApiBlogPost/AmazonProductAdvertSig-Net/AmazonProductAdvertSig1/Program.cs deleted file mode 100644 index 5cee067..0000000 --- a/AmazonProductAdvertisingApiBlogPost/AmazonProductAdvertSig-Net/AmazonProductAdvertSig1/Program.cs +++ /dev/null @@ -1,32 +0,0 @@ -using Nager.AmazonProductAdvertising; -using Nager.AmazonProductAdvertising.Model; -using System; - -namespace AmazonProductAdvertSig1 -{ - class Program - { - static void Main(string[] args) - { - var authentication = new AmazonAuthentication - { - AccessKey = "your-access-key", - SecretKey = "your-secret-key" - }; - - var wrapper = new AmazonWrapper(authentication, AmazonEndpoint.US, "your-store-id"); - wrapper.ErrorReceived += (err) => Console.WriteLine($"Error {err.Error.Code}: {err.Error.Message}"); - wrapper.XmlReceived += (xml) => Console.WriteLine($"Received: {xml}"); - - // Search for products - //var result = wrapper.Search("raspberry pi", AmazonSearchIndex.Electronics, AmazonResponseGroup.Small); - //Console.WriteLine(result.Items.TotalResults); - - // Search for a specific item - var result = wrapper.Lookup("B07BQFX4SB"); - Console.WriteLine(result.Items.Item[0].DetailPageURL); - - Console.ReadLine(); - } - } -} diff --git a/AmazonProductAdvertisingApiBlogPost/AmazonProductAdvertSig-Net/AmazonProductAdvertSig1/packages.config b/AmazonProductAdvertisingApiBlogPost/AmazonProductAdvertSig-Net/AmazonProductAdvertSig1/packages.config deleted file mode 100644 index 4de1db1..0000000 --- a/AmazonProductAdvertisingApiBlogPost/AmazonProductAdvertSig-Net/AmazonProductAdvertSig1/packages.config +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/AmazonProductAdvertisingApiBlogPost/AmazonProductAdvertSig-Python/AmazonProductAdvert.py b/AmazonProductAdvertisingApiBlogPost/AmazonProductAdvertSig-Python/AmazonProductAdvert.py deleted file mode 100644 index 489f048..0000000 --- a/AmazonProductAdvertisingApiBlogPost/AmazonProductAdvertSig-Python/AmazonProductAdvert.py +++ /dev/null @@ -1,11 +0,0 @@ -import subprocess -import sys -import bottlenose - -amazon = bottlenose.Amazon("your-access-key", "your-secret-key", "your-store-id") - -response = amazon.ItemSearch(Keywords="Raspberry Pi", SearchIndex="Electronics") - -# response = amazon.ItemLookup(ItemId="B07BQFX4SB") - -print(response) diff --git a/AsyncAndPlinq112013/AsyncAndPlinq112013.sln b/AsyncAndPlinq112013/AsyncAndPlinq112013.sln deleted file mode 100644 index e99dd14..0000000 --- a/AsyncAndPlinq112013/AsyncAndPlinq112013.sln +++ /dev/null @@ -1,22 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2013 -VisualStudioVersion = 12.0.31101.0 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AsyncAndPlinq112013", "AsyncAndPlinq112013\AsyncAndPlinq112013.csproj", "{22C984CC-9B52-4E39-8A73-26D613DE2B8D}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {22C984CC-9B52-4E39-8A73-26D613DE2B8D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {22C984CC-9B52-4E39-8A73-26D613DE2B8D}.Debug|Any CPU.Build.0 = Debug|Any CPU - {22C984CC-9B52-4E39-8A73-26D613DE2B8D}.Release|Any CPU.ActiveCfg = Release|Any CPU - {22C984CC-9B52-4E39-8A73-26D613DE2B8D}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/AsyncAndPlinq112013/AsyncAndPlinq112013/AsyncAndPlinq112013.csproj b/AsyncAndPlinq112013/AsyncAndPlinq112013/AsyncAndPlinq112013.csproj deleted file mode 100644 index 22374a6..0000000 --- a/AsyncAndPlinq112013/AsyncAndPlinq112013/AsyncAndPlinq112013.csproj +++ /dev/null @@ -1,53 +0,0 @@ - - - - - Debug - AnyCPU - {22C984CC-9B52-4E39-8A73-26D613DE2B8D} - Library - Properties - AsyncAndPlinq112013 - AsyncAndPlinq112013 - v4.5 - 512 - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/AsyncAndPlinq112013/AsyncAndPlinq112013/Class1.cs b/AsyncAndPlinq112013/AsyncAndPlinq112013/Class1.cs deleted file mode 100644 index 4c12f21..0000000 --- a/AsyncAndPlinq112013/AsyncAndPlinq112013/Class1.cs +++ /dev/null @@ -1,75 +0,0 @@ -using System; -using System.Diagnostics; -using System.Linq; -using System.Threading; - -namespace AsyncAndPlinq112013 -{ - public class Class1 - { - private static readonly Stopwatch Stopwatch = new Stopwatch(); - - static void Main() - { - Stopwatch.Start(); - PLinqTest(); - Stopwatch.Stop(); - Console.WriteLine("Total execution time: {0}", - Stopwatch.ElapsedMilliseconds / 1000m); - Console.Read(); - } - - static void PLinqTest() - { - var numbers = new[] { 1, 2, 3, 4 }; - numbers.AsParallel().Select(SomeLongComputation).ToList(); - } - - static int SomeLongComputation(int n) - { - for (var i = 0; i <= 5; i++) - { - Thread.Sleep(100); - Console.WriteLine(string.Concat(n, ":", i)); - } - return -1; - } - } - - public class Class2 - { - private static readonly Stopwatch Stopwatch = new Stopwatch(); - private static CancellationToken cancellationToken; - - static void Main() - { - new Timer(x => cancellationToken - = new CancellationToken(true), "hi", 250, 10000); - Stopwatch.Start(); - PLinqTest(); - Stopwatch.Stop(); - Console.WriteLine("Total execution time: {0}", - Stopwatch.ElapsedMilliseconds / 1000m); - Console.Read(); - } - - static void PLinqTest() - { - var numbers = new[] { 1, 2, 3, 4 }; - numbers.AsParallel().WithCancellation(cancellationToken) - .Select(SomeLongComputation).ToList(); - } - - static int SomeLongComputation(int n) - { - for (var i = 0; i <= 5; i++) - { - if (cancellationToken.IsCancellationRequested) - break; - Thread.Sleep(100); - Console.WriteLine(string.Concat(n, ":", i)); - } - return -1; - } - } -} diff --git a/AsyncAndPlinq112013/README.md b/AsyncAndPlinq112013/README.md deleted file mode 100644 index 4c194d2..0000000 --- a/AsyncAndPlinq112013/README.md +++ /dev/null @@ -1,3 +0,0 @@ -ASync and PLINQ - -http://grantwinney.com/async-and-plinq/ \ No newline at end of file diff --git a/AttributesExamples/AttributesExamples.sln b/AttributesExamples/AttributesExamples.sln deleted file mode 100644 index 5d497a5..0000000 --- a/AttributesExamples/AttributesExamples.sln +++ /dev/null @@ -1,31 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.28307.539 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DemoAttributeExamples", "DemoAttributeExamples\DemoAttributeExamples.csproj", "{4D6F0CCD-9BCA-46D2-A090-F475FC0F2F61}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AttributesExamples", "AttributesExamples\AttributesExamples.csproj", "{775B8867-D1BC-489F-A102-0647163258F9}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {4D6F0CCD-9BCA-46D2-A090-F475FC0F2F61}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {4D6F0CCD-9BCA-46D2-A090-F475FC0F2F61}.Debug|Any CPU.Build.0 = Debug|Any CPU - {4D6F0CCD-9BCA-46D2-A090-F475FC0F2F61}.Release|Any CPU.ActiveCfg = Release|Any CPU - {4D6F0CCD-9BCA-46D2-A090-F475FC0F2F61}.Release|Any CPU.Build.0 = Release|Any CPU - {775B8867-D1BC-489F-A102-0647163258F9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {775B8867-D1BC-489F-A102-0647163258F9}.Debug|Any CPU.Build.0 = Debug|Any CPU - {775B8867-D1BC-489F-A102-0647163258F9}.Release|Any CPU.ActiveCfg = Release|Any CPU - {775B8867-D1BC-489F-A102-0647163258F9}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {6A3EBE4F-C96E-4C5D-AF4A-96710D41AC94} - EndGlobalSection -EndGlobal diff --git a/AttributesExamples/AttributesExamples/1-ParsingConfigurationFiles.cs b/AttributesExamples/AttributesExamples/1-ParsingConfigurationFiles.cs deleted file mode 100644 index 0182d09..0000000 --- a/AttributesExamples/AttributesExamples/1-ParsingConfigurationFiles.cs +++ /dev/null @@ -1,51 +0,0 @@ -using System; -using System.Configuration; - -namespace AttributesExamples -{ - public enum Severity - { - Info = 1, - Warn = 2, - Error = 3 - } - - public class Application : ConfigurationSection - { - public static LogSettings LoggingConfig => (ConfigurationManager.GetSection("application") as Application).LogSettings; - - [ConfigurationProperty("logging", Options = ConfigurationPropertyOptions.IsRequired)] - public LogSettings LogSettings - { - get { return (LogSettings)this["logging"]; } - } - } - - public class LogSettings : ConfigurationElement - { - [ConfigurationProperty("name", IsRequired = false, DefaultValue = @"log.txt")] - [StringValidator(InvalidCharacters = @":;()!@3$%^&*'""<>", MinLength = 1, MaxLength = 32)] - public string LogName - { - get { return Convert.ToString(this["name"]); } - } - - [ConfigurationProperty("location", IsRequired = true)] - public string LogPath - { - get { return Convert.ToString(this["location"]); } - } - - [ConfigurationProperty("level", IsRequired = false, DefaultValue = Severity.Info)] - public Severity SeverityLevel - { - get { return (Severity)Enum.Parse(typeof(Severity), Convert.ToString(this["level"])); } - } - - [ConfigurationProperty("enabled", IsRequired = false, DefaultValue = true)] - public bool LoggingEnabled - { - get { return Convert.ToBoolean(this["enabled"]); } - } - } -} diff --git a/AttributesExamples/AttributesExamples/2-UnitTesting.cs b/AttributesExamples/AttributesExamples/2-UnitTesting.cs deleted file mode 100644 index bc7497c..0000000 --- a/AttributesExamples/AttributesExamples/2-UnitTesting.cs +++ /dev/null @@ -1,50 +0,0 @@ -using NUnit.Framework; - -namespace AttributesExamples -{ - [TestFixture] - public class UnitTesting - { - Employee emp; - - [SetUp] - public void AnyNameWeWant() - { - emp = new Employee(); - } - - [TearDown] - public void SomeOtherName() - { - emp = null; - } - - [Test] - [TestCase("Lucky", "Day", "Lucky Day")] - [TestCase("Dusty", "Bottoms", "Dusty Bottoms")] - [TestCase("Ned", "Nederlander", "Ned Nederlander")] - public void GetFullName_ReturnsFullName(string firstName, string lastName, string expectedFullName) - { - emp.SetName(firstName, lastName); - - Assert.AreEqual(expectedFullName, emp.GetFullName()); - } - } - - public class Employee - { - private string firstName; - private string lastName; - - public void SetName(string firstName, string lastName) - { - this.firstName = firstName; - this.lastName = lastName; - } - - public string GetFullName() - { - return $"{firstName} {lastName}"; - } - } -} diff --git a/AttributesExamples/AttributesExamples/3-PlannedCodeObsolescence.cs b/AttributesExamples/AttributesExamples/3-PlannedCodeObsolescence.cs deleted file mode 100644 index f15d785..0000000 --- a/AttributesExamples/AttributesExamples/3-PlannedCodeObsolescence.cs +++ /dev/null @@ -1,40 +0,0 @@ -using System; - -namespace AttributesExamples -{ - public class PlannedCodeObsolescence - { - string firstName; - string lastName; - int age; - - [Obsolete("SetFirstName and SetLastName are more reliable and replace this method.")] - public void SetName(string name) - { - var names = name.Split(); - firstName = names[0]; - lastName = names[1]; - } - - public void SetFirstName(string first) - { - firstName = first; - } - - public void SetLastName(string last) - { - lastName = last; - } - - [Obsolete("Function renamed to SetAge in v2.4 for consistency", true)] - public void AgeSet(int age) - { - SetAge(age); - } - - public void SetAge(int age) - { - this.age = age; - } - } -} diff --git a/AttributesExamples/AttributesExamples/4-EnumAsBitField.cs b/AttributesExamples/AttributesExamples/4-EnumAsBitField.cs deleted file mode 100644 index ac53db8..0000000 --- a/AttributesExamples/AttributesExamples/4-EnumAsBitField.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System; - -namespace AttributesExamples -{ - [Flags] - public enum PreferredContactMethods - { - None = 0, - LandPhone = 1, - CellPhone = 2, - Email = 4, - SnailMail = 8, - Owl = 16, - FlooPowder = 32, - Text = 64, - Muggle = Email | Text | CellPhone, - Wizard = Owl | FlooPowder - } -} diff --git a/AttributesExamples/AttributesExamples/AttributesExamples.csproj b/AttributesExamples/AttributesExamples/AttributesExamples.csproj deleted file mode 100644 index af2f8b1..0000000 --- a/AttributesExamples/AttributesExamples/AttributesExamples.csproj +++ /dev/null @@ -1,15 +0,0 @@ - - - - netcoreapp2.2 - - - - - - - - - - - diff --git a/AttributesExamples/DemoAttributeExamples/DemoAttributeExamples.csproj b/AttributesExamples/DemoAttributeExamples/DemoAttributeExamples.csproj deleted file mode 100644 index 968d4e3..0000000 --- a/AttributesExamples/DemoAttributeExamples/DemoAttributeExamples.csproj +++ /dev/null @@ -1,12 +0,0 @@ - - - - Exe - netcoreapp2.2 - - - - - - - diff --git a/AttributesExamples/DemoAttributeExamples/Program.cs b/AttributesExamples/DemoAttributeExamples/Program.cs deleted file mode 100644 index 0028554..0000000 --- a/AttributesExamples/DemoAttributeExamples/Program.cs +++ /dev/null @@ -1,54 +0,0 @@ -using AttributesExamples; -using System; - -namespace DemoAttributeExamples -{ - class Program - { - static void Main(string[] args) - { - EnumAsBitFieldDemo(); - - Console.ReadLine(); - } - - static void ParsingConfigurationFileDemo() - { - var settings = Application.LoggingConfig; - - Console.WriteLine($"Log Name: {settings.LogName}"); - Console.WriteLine($"Log Location: {settings.LogPath}"); - Console.WriteLine($"Severity Level: {settings.SeverityLevel}"); - Console.WriteLine($"Logging {(settings.LoggingEnabled ? @"is" : @"is not")} enabled."); - } - - static void PlannedCodeObsolescenceDemo() - { - var p = new PlannedCodeObsolescence(); - - p.SetName("Tiny Tim"); - - // p.AgeSet(5); - } - - static void EnumAsBitFieldDemo() - { - var prefContactMethods = PreferredContactMethods.Email | PreferredContactMethods.FlooPowder; - - if (prefContactMethods == PreferredContactMethods.None) - Console.WriteLine("User hates people. :("); // won't print - - if (prefContactMethods.HasFlag(PreferredContactMethods.LandPhone)) - Console.WriteLine("What's a landph one? :/"); // also won't print - - if (prefContactMethods.HasFlag(PreferredContactMethods.CellPhone) - || prefContactMethods.HasFlag(PreferredContactMethods.Email)) - Console.WriteLine("Aren't we modern? :p"); // should print - - prefContactMethods |= PreferredContactMethods.Owl; - - if (prefContactMethods.HasFlag(PreferredContactMethods.Wizard)) - Console.WriteLine("You're a wizard Harry!! ~:›"); // this too - } - } -} diff --git a/AttributesExamples/DemoAttributeExamples/app.config b/AttributesExamples/DemoAttributeExamples/app.config deleted file mode 100644 index ab197eb..0000000 --- a/AttributesExamples/DemoAttributeExamples/app.config +++ /dev/null @@ -1,12 +0,0 @@ - - - -
- - - - - \ No newline at end of file diff --git a/CollectionViewSourceSample/README.md b/CollectionViewSourceSample/README.md deleted file mode 100644 index c954655..0000000 --- a/CollectionViewSourceSample/README.md +++ /dev/null @@ -1,3 +0,0 @@ -Using the CollectionViewSource to filter results in a ListView - -http://grantwinney.com/using-a-textbox-and-collectionviewsource-to-filter-a-listview-in-wpf/ \ No newline at end of file diff --git a/DevTools/CompareInVSCode/formatted.xml b/DevTools/CompareInVSCode/formatted.xml new file mode 100644 index 0000000..ebbd360 --- /dev/null +++ b/DevTools/CompareInVSCode/formatted.xml @@ -0,0 +1,4359 @@ + + + A list of reporting services reports that have subscriptions + Anthony Duguid + 0 + + + ReportServer + None + 9c5d5e18-ddee-41b3-ae49-8d83f261caf6 + + + + + + ReportServer + + + =Parameters!ReportServerUrl.Value + + + =Parameters!all_value.Value + + + =Parameters!DeliveryExtension.Value + + + =Parameters!SubscriptionType.Value + + + =Parameters!ReportFolder.Value + + + =Parameters!ReportName.Value + + + =Parameters!StatusGroup.Value + + + =Parameters!EventStatus.Value + + + =Parameters!SubscriptionStatus.Value + + + =Parameters!LastStatus.Value + + + =Parameters!IsDisabled.Value + + + =Parameters!StartDateTime.Value + + + =Parameters!EndDateTime.Value + + + =Parameters!EmailLike.Value + + + WITH report_status AS ( SELECT tbl.* FROM (VALUES ( 'rrRenderingError', 'Failure') , ( 'rsHttpRuntimeClientDisconnectionError', 'Failure') , ( 'rsInternalError', 'Failure') , ( 'rsInvalidDataSourceCredentialSetting', 'Failure') , ( 'rsProcessingAborted', 'Failure') , ( 'rsProcessingError', 'Failure') , ( 'rsRenderingExtensionNotFound', 'Failure') , ( 'rsReportServerDatabaseError', 'Failure') , ( 'rsSuccess', 'Success') ) tbl ([StatusName], [StatusGroup]) ) , report_users AS ( SELECT [UserID] , [UserName] , [SimpleUserName] = LOWER(RIGHT([UserName], (LEN([UserName]) - CHARINDEX('\', [UserName])))) FROM [dbo].[Users] WITH(NOLOCK) ) , report_catalog AS ( SELECT c.[ItemID] , c.[CreatedById] , c.[ModifiedById] , c.[Type] , c.[Name] , c.[Description] , c.[Parameter] , [ReportCreationDate] = c.[CreationDate] , [ReportModifiedDate] = c.[ModifiedDate] , [ReportFolder] = CASE WHEN c.Path = '/' + c.Name THEN '' ELSE SUBSTRING(c.[Path], 2, Len(c.[Path])-Len(c.[Name])-2) END , [ReportPath] = c.[Path] , [UrlPath] = @ReportServerUrl + 'Reports/Pages/Folder.aspx?ItemPath=%2f' , [ReportDefinition] = CONVERT(VARCHAR(MAX),CONVERT(VARBINARY(MAX), c.[content])) FROM [dbo].[Catalog] AS c WITH (NOLOCK) WHERE 1=1 AND c.[Type] IN(2, 4) ) , subscription_days AS ( SELECT tbl.* FROM (VALUES ( 'DaysOfMonth', 1, '1') , ( 'DaysOfMonth', 2, '2') , ( 'DaysOfMonth', 4, '3') , ( 'DaysOfMonth', 8, '4') , ( 'DaysOfMonth', 16, '5') , ( 'DaysOfMonth', 32, '6') , ( 'DaysOfMonth', 64, '7') , ( 'DaysOfMonth', 128, '8') , ( 'DaysOfMonth', 256, '9') , ( 'DaysOfMonth', 512, '10') , ( 'DaysOfMonth', 1024, '11') , ( 'DaysOfMonth', 2048, '12') , ( 'DaysOfMonth', 4096, '13') , ( 'DaysOfMonth', 8192, '14') , ( 'DaysOfMonth', 16384, '15') , ( 'DaysOfMonth', 32768, '16') , ( 'DaysOfMonth', 65536, '17') , ( 'DaysOfMonth', 131072, '18') , ( 'DaysOfMonth', 262144, '19') , ( 'DaysOfMonth', 524288, '20') , ( 'DaysOfMonth', 1048576, '21') , ( 'DaysOfMonth', 2097152, '22') , ( 'DaysOfMonth', 4194304, '23') , ( 'DaysOfMonth', 8388608, '24') , ( 'DaysOfMonth', 16777216, '25') , ( 'DaysOfMonth', 33554432, '26') , ( 'DaysOfMonth', 67108864, '27') , ( 'DaysOfMonth', 134217728, '28') , ( 'DaysOfMonth', 268435456, '29') , ( 'DaysOfMonth', 536870912, '30') , ( 'DaysOfMonth', 1073741824, '31') , ( 'DaysOfMonth', 8193, '1st and 14th') , ( 'DaysOfWeek', 1, 'Sun') , ( 'DaysOfWeek', 2, 'Mon') , ( 'DaysOfWeek', 4, 'Tues') , ( 'DaysOfWeek', 8, 'Wed') , ( 'DaysOfWeek', 16, 'Thurs') , ( 'DaysOfWeek', 32, 'Fri') , ( 'DaysOfWeek', 64, 'Sat') , ( 'DaysOfWeek', 62, 'Mon - Fri') , ( 'DaysOfWeek', 10, 'Mon - Wed') , ( 'DaysOfWeek', 24, 'Wed - Thurs') , ( 'DaysOfWeek', 120, 'Wed - Sat') , ( 'DaysOfWeek', 126, 'Mon - Sat') , ( 'DaysOfWeek', 127, 'Daily') , ( 'DayOfWeek', 1, 'Sun') , ( 'DayOfWeek', 127, 'Sun') , ( 'DayOfWeek', 2, 'Mon') , ( 'DayOfWeek', 10, 'Mon') , ( 'DayOfWeek', 62, 'Mon') , ( 'DayOfWeek', 126, 'Mon') , ( 'DayOfWeek', 127, 'Mon') , ( 'DayOfWeek', 4, 'Tue') , ( 'DayOfWeek', 10, 'Tue') , ( 'DayOfWeek', 62, 'Tue') , ( 'DayOfWeek', 126, 'Tue') , ( 'DayOfWeek', 127, 'Tue') , ( 'DayOfWeek', 8, 'Wed') , ( 'DayOfWeek', 10, 'Wed') , ( 'DayOfWeek', 24, 'Wed') , ( 'DayOfWeek', 62, 'Wed') , ( 'DayOfWeek', 120, 'Wed') , ( 'DayOfWeek', 126, 'Wed') , ( 'DayOfWeek', 127, 'Wed') , ( 'DayOfWeek', 16, 'Thr') , ( 'DayOfWeek', 24, 'Thr') , ( 'DayOfWeek', 62, 'Thr') , ( 'DayOfWeek', 120, 'Thr') , ( 'DayOfWeek', 126, 'Thr') , ( 'DayOfWeek', 127, 'Thr') , ( 'DayOfWeek', 32, 'Fri') , ( 'DayOfWeek', 62, 'Fri') , ( 'DayOfWeek', 120, 'Fri') , ( 'DayOfWeek', 126, 'Fri') , ( 'DayOfWeek', 127, 'Fri') , ( 'DayOfWeek', 64, 'Sat') , ( 'DayOfWeek', 120, 'Sat') , ( 'DayOfWeek', 126, 'Sat') , ( 'DayOfWeek', 127, 'Sat') ) tbl ([GroupName], [CodeNbr], [Label]) ) , subscription_schedule AS ( SELECT [ScheduleID] , [SchDaySun] = Sun , [SchDayMon] = Mon , [SchDayTue] = Tue , [SchDayWed] = Wed , [SchDayThr] = Thr , [SchDayFri] = Fri , [SchDaySat] = Sat , [ScheduleName] , [ScheduleStartDate] , [ScheduleEndDate] , [Flags] , [RecurrenceType] , [State] , [MinutesInterval] , [DaysInterval] , [WeeksInterval] , [DaysOfWeek] , [DaysOfMonth] , [Month] , [MonthlyWeek] , [ScheduleDays] FROM ( SELECT sc.[ScheduleID] , sd.[CodeNbr] , sd.[Label] , [ScheduleName] = CASE WHEN sc.[EventType] = 'SharedSchedule' THEN sc.[name] ELSE NULL END , [ScheduleStartDate] = sc.[StartDate] , [ScheduleEndDate] = sc.[EndDate] , sc.[Flags] , sc.[RecurrenceType] , sc.[State] , sc.[MinutesInterval] , sc.[DaysInterval] , sc.[WeeksInterval] , sc.[DaysOfWeek] , sc.[DaysOfMonth] , sc.[Month] , sc.[MonthlyWeek] , [ScheduleDays] = CASE WHEN sc.[DaysOfMonth] IS NOT NULL THEN COALESCE(dom.[Label], '(' + CAST(sc.[DaysOfMonth] AS VARCHAR(20)) + ') NOT CODED') WHEN sc.[DaysOfWeek] IS NOT NULL THEN COALESCE(dow.[Label], '(' + CAST(sc.[DaysOfWeek] AS VARCHAR(20)) + ') NOT CODED') END FROM [dbo].[Schedule] sc WITH (NOLOCK) LEFT JOIN subscription_days sd ON sc.[DaysOfWeek] = sd.[CodeNbr] AND sd.[GroupName] = 'DayOfWeek' LEFT JOIN subscription_days AS dom ON sc.[DaysOfMonth] = dom.[CodeNbr] AND dom.[GroupName] = 'DaysOfMonth' LEFT JOIN subscription_days AS dow ON sc.[DaysOfWeek] = dow.[CodeNbr] AND dow.[GroupName] = 'DaysOfWeek' ) sch PIVOT ( COUNT(sch.[Label]) FOR sch.[Label] IN ([Sun], [Mon], [Tue], [Wed], [Thr], [Fri], [Sat]) ) AS pvt ) , report_subscription AS ( SELECT s.[SubscriptionID] , s.[Report_OID] , [SubscriptionDescription] = s.[Description] , s.[ExtensionSettings] , s.[EventType] , s.[OwnerID] , s.[ModifiedByID] , s.[ModifiedDate] , [RunTime] = CONVERT(VARCHAR(5), s.[LastRunTime], 8) , [LastRunDate] = CONVERT(VARCHAR(11), s.[LastRunTime], 13) , [LastRunTime] = CAST(CONVERT(CHAR(16), s.[LastRunTime], 113) AS DATETIME) , [SubscriptionType] = CASE WHEN CAST(s.[DataSettings] AS NVARCHAR(50)) IS NOT NULL THEN 'Data-Driven' ELSE 'Standard' END , s.[DeliveryExtension] , s.[MatchData] , [SubscriptionLastStatus] = s.[LastStatus] , [StatusFail] = CASE WHEN s.[LastStatus] LIKE '%Mail sent%' THEN 'N' ELSE 'Y' END , [EmailSubject] = CASE CHARINDEX('<Name>SUBJECT</Name><Value>', s.ExtensionSettings) WHEN 0 THEN '' ELSE SUBSTRING(s.ExtensionSettings, LEN('<Name>SUBJECT</Name><Value>') + CHARINDEX('<Name>SUBJECT</Name><Value>', s.ExtensionSettings), CHARINDEX('</Value>', s.ExtensionSettings, CHARINDEX('<Name>SUBJECT</Name><Value>', s.ExtensionSettings) + 1) - (LEN('<Name>SUBJECT</Name><Value>') + CHARINDEX('<Name>SUBJECT</Name><Value>', s.ExtensionSettings))) END , [EmailTo] = SUBSTRING(s.ExtensionSettings, LEN('<Name>TO</Name><Value>') + CHARINDEX('<Name>TO</Name><Value>', s.ExtensionSettings), CHARINDEX('</Value>', s.ExtensionSettings, CHARINDEX('<Name>TO</Name><Value>', s.ExtensionSettings) + 1) - (LEN('<Name>TO</Name><Value>') + CHARINDEX('<Name>TO</Name><Value>', s.ExtensionSettings))) , [EmailCc] = CASE CHARINDEX('<Name>CC</Name><Value>', s.ExtensionSettings) WHEN 0 THEN '' ELSE SUBSTRING(s.ExtensionSettings, LEN('<Name>CC</Name><Value>') + CHARINDEX('<Name>CC</Name><Value>', s.ExtensionSettings), CHARINDEX('</Value>', s.ExtensionSettings, CHARINDEX('<Name>CC</Name><Value>', s.ExtensionSettings) + 1) - (LEN('<Name>CC</Name><Value>') + CHARINDEX('<Name>CC</Name><Value>', s.ExtensionSettings))) END , [EmailBcc] = CASE CHARINDEX('<Name>BCC</Name><Value>', s.ExtensionSettings) WHEN 0 THEN '' ELSE SUBSTRING(s.ExtensionSettings, LEN('<Name>BCC</Name><Value>') + CHARINDEX('<Name>BCC</Name><Value>', s.ExtensionSettings), CHARINDEX('</Value>', s.ExtensionSettings, CHARINDEX('<Name>BCC</Name><Value>', s.ExtensionSettings) + 1) - (LEN('<Name>BCC</Name><Value>') + CHARINDEX('<Name>BCC</Name><Value>', s.ExtensionSettings))) END , [EmailComment] = CASE CHARINDEX('<Name>Comment</Name><Value>', s.ExtensionSettings) WHEN 0 THEN '' ELSE SUBSTRING(s.ExtensionSettings, LEN('<Name>Comment</Name><Value>') + CHARINDEX('<Name>Comment</Name><Value>', s.ExtensionSettings), CHARINDEX('</Value>', s.ExtensionSettings, CHARINDEX('<Name>Comment</Name><Value>', s.ExtensionSettings) + 1) - (LEN('<Name>Comment</Name><Value>') + CHARINDEX('<Name>Comment</Name><Value>', s.ExtensionSettings))) END , [EmailIncludeLink] = CASE CHARINDEX('<Name>IncludeLink</Name><Value>', s.ExtensionSettings) WHEN 0 THEN '' ELSE SUBSTRING(s.ExtensionSettings, LEN('<Name>IncludeLink</Name><Value>') + CHARINDEX('<Name>IncludeLink</Name><Value>', s.ExtensionSettings), CHARINDEX('</Value>', s.ExtensionSettings, CHARINDEX('<Name>IncludeLink</Name><Value>', s.ExtensionSettings) + 1) - (LEN('<Name>IncludeLink</Name><Value>') + CHARINDEX('<Name>IncludeLink</Name><Value>', s.ExtensionSettings))) END , [EmailRenderFormat] = CASE CHARINDEX('<Name>RenderFormat</Name><Value>', s.ExtensionSettings) WHEN 0 THEN '' ELSE SUBSTRING(s.ExtensionSettings, LEN('<Name>RenderFormat</Name><Value>') + CHARINDEX('<Name>RenderFormat</Name><Value>', s.ExtensionSettings), CHARINDEX('</Value>', s.ExtensionSettings, CHARINDEX('<Name>RenderFormat</Name><Value>', s.ExtensionSettings) + 1) - (LEN('<Name>RenderFormat</Name><Value>') + CHARINDEX('<Name>RenderFormat</Name><Value>', s.ExtensionSettings))) END , [EmailPriority] = CASE CHARINDEX('<Name>Priority</Name><Value>', s.ExtensionSettings) WHEN 0 THEN '' ELSE SUBSTRING(s.ExtensionSettings, LEN('<Name>Priority</Name><Value>') + CHARINDEX('<Name>Priority</Name><Value>', s.ExtensionSettings), CHARINDEX('</Value>', s.ExtensionSettings, CHARINDEX('<Name>Priority</Name><Value>', s.ExtensionSettings) + 1) - (LEN('<Name>Priority</Name><Value>') + CHARINDEX('<Name>Priority</Name><Value>', s.ExtensionSettings))) END , sch.[MinutesInterval] , sch.[DaysInterval] , sch.[WeeksInterval] , sch.[DaysOfWeek] , sch.[DaysOfMonth] , sch.[Month] , sch.[MonthlyWeek] , sch.[ScheduleName] , sch.[ScheduleDays] , sch.[SchDaySun] , sch.[SchDayMon] , sch.[SchDayTue] , sch.[SchDayWed] , sch.[SchDayThr] , sch.[SchDayFri] , sch.[SchDaySat] , sch.[ScheduleStartDate] , sch.[ScheduleEndDate] , sch.[Flags] , sch.[RecurrenceType] , sch.[State] , s.[LastStatus] , rs.[ScheduleID] , [IsDisabled] = CASE WHEN s.[LastStatus] = 'Disabled' THEN 1 ELSE 0 END FROM [dbo].[Subscriptions] AS s WITH (NOLOCK) LEFT JOIN [dbo].[Notifications] AS n WITH (NOLOCK) ON n.[SubscriptionID] = s.[SubscriptionID] AND s.[Report_OID] = n.[ReportID] LEFT JOIN [dbo].[ReportSchedule] AS rs WITH (NOLOCK) ON s.[SubscriptionID] = rs.[SubscriptionID] LEFT JOIN subscription_schedule AS sch ON rs.[ScheduleID] = sch.[ScheduleID] WHERE 1=1 AND (@all_value IN (@DeliveryExtension) OR s.[DeliveryExtension] IN(@DeliveryExtension)) ) SELECT c.[ItemID] , c.[Name] , c.[Description] , c.[Type] , c.[Parameter] , c.[ReportFolder] , c.[ReportPath] , [URL_ReportFolder] = c.[UrlPath] + c.[ReportFolder] + '&ViewMode=List' , [URL_Report] = @ReportServerUrl + 'Reports/report/' + c.[ReportFolder] + '%2f' + c.[Name] , [URL] = @ReportServerUrl + 'Reports/manage/catalogitem/editsubscription' + c.[ReportPath] + '?id=' + CAST(s.[SubscriptionID] AS VARCHAR(80)) , [URL2] = @ReportServerUrl + 'Reports/Pages/Report.aspx?ItemPath=' + c.[ReportPath] + '&SelectedTabId=SubscriptionsTab' , [ReportCreatedBy] = urc.[SimpleUserName] , c.[ReportCreationDate] , [ReportModifiedBy] = urm.[SimpleUserName] , c.[ReportModifiedDate] , [SubscriptionOwner] = usc.[SimpleUserName] , [SubscriptionModifiedBy] = usm.[SimpleUserName] , [SubscriptionModifiedDate] = s.[ModifiedDate] , s.[SubscriptionID] , s.[SubscriptionDescription] , s.[ExtensionSettings] , s.[EventType] , s.[EmailSubject] , s.[EmailTo] , s.[EmailCc] , s.[EmailBcc] , s.[EmailComment] , s.[EmailIncludeLink] , s.[EmailRenderFormat] , s.[EmailPriority] , s.[DeliveryExtension] , [DeliveryExtensionImage] = CASE WHEN s.[DeliveryExtension] = 'Report Server Email' THEN 'email' WHEN s.[DeliveryExtension] = 'Report Server FileShare' THEN 'folder_table' ELSE '' END , s.[SubscriptionType] , s.[SubscriptionLastStatus] , s.[StatusFail] , s.[MatchData] , s.[RunTime] , s.[LastRunDate] , s.[LastRunTime] , s.[MinutesInterval] , s.[DaysInterval] , s.[WeeksInterval] , s.[DaysOfWeek] , s.[DaysOfMonth] , s.[Month] , s.[MonthlyWeek] , [JobName] = NULL , s.[ScheduleName] , s.[ScheduleDays] , s.[SchDaySun] , s.[SchDayMon] , s.[SchDayTue] , s.[SchDayWed] , s.[SchDayThr] , s.[SchDayFri] , s.[SchDaySat] , s.[ScheduleStartDate] , s.[ScheduleEndDate] , s.[Flags] , s.[RecurrenceType] , s.[State] , [EventStatus] = el.[Status] , [EventDateTime] = el.[TimeEnd] , s.[LastStatus] , s.[ScheduleID] FROM report_catalog AS c INNER JOIN report_subscription AS s ON s.[Report_OID] = c.[ItemID] LEFT JOIN ( SELECT b.[ReportID] , b.[Status] , b.[TimeEnd] , [LastRunTime] = CAST(CONVERT(CHAR(16), b.[TimeEnd], 113) AS DATETIME) FROM [dbo].[ExecutionLog] AS b WITH (NOLOCK) INNER JOIN (SELECT [ReportID], MAX([TimeEnd]) AS [TimeEnd] FROM [dbo].[ExecutionLog] WITH (NOLOCK) GROUP BY [ReportID]) a ON b.[ReportID] = a.[ReportID] AND b.[TimeEnd] = a.[TimeEnd] GROUP BY b.[ReportID] , b.[Status] , b.[TimeEnd] ) AS el ON el.[ReportID] = c.[ItemID] LEFT JOIN report_status AS rs ON el.[Status] = rs.[StatusName] LEFT JOIN report_users AS urc ON c.[CreatedById] = urc.[UserID] LEFT JOIN report_users AS urm ON c.[ModifiedById] = urm.[UserID] LEFT JOIN report_users AS usc ON s.[OwnerID] = usc.[UserID] LEFT JOIN report_users AS usm ON s.[ModifiedByID] = usm.[UserID] WHERE 1=1 AND s.[SubscriptionType] IN(@SubscriptionType) AND (@all_value IN (@ReportFolder) OR c.[ReportFolder] IN(@ReportFolder)) AND (@all_value IN(@ReportName) OR c.[Name] IN(@ReportName)) AND (@all_value IN(@StatusGroup) OR rs.[StatusGroup] IN(@StatusGroup)) AND (@all_value IN(@EventStatus) OR el.[Status] IN(@EventStatus)) AND (@all_value IN(@SubscriptionStatus) OR s.[SubscriptionLastStatus] LIKE '%' + @SubscriptionStatus + '%') AND (@all_value IN(@LastStatus) OR s.[LastStatus] IN(@LastStatus)) AND (@IsDisabled IS NULL OR s.[IsDisabled] = @IsDisabled) --AND (@IsDisabled IS NULL OR CASE WHEN s.[ScheduleEndDate] IS NULL THEN 0 WHEN s.[ScheduleEndDate] IS NOT NULL THEN 1 END = @IsDisabled) AND (el.[TimeEnd] >= @StartDateTime OR @StartDateTime IS NULL) AND (el.[TimeEnd] <= @EndDateTime OR @EndDateTime IS NULL) AND ( (SUBSTRING(s.[ExtensionSettings], LEN('<Name>TO</Name><Value>') + CHARINDEX('<Name>TO</Name><Value>', s.[ExtensionSettings]), CHARINDEX('</Value>', s.[ExtensionSettings], CHARINDEX('<Name>TO</Name><Value>', s.[ExtensionSettings]) + 1) - (LEN('<Name>TO</Name><Value>') + CHARINDEX('<Name>TO</Name><Value>', s.[ExtensionSettings]))) LIKE '%' + @EmailLike + '%' OR @EmailLike IS NULL ) OR ( CASE CHARINDEX('<Name>CC</Name><Value>', s.[ExtensionSettings]) WHEN 0 THEN '' ELSE SUBSTRING(s.[ExtensionSettings], LEN('<Name>CC</Name><Value>') + CHARINDEX('<Name>CC</Name><Value>', s.[ExtensionSettings]), CHARINDEX('</Value>', s.[ExtensionSettings], CHARINDEX('<Name>CC</Name><Value>', s.[ExtensionSettings]) + 1) - (LEN('<Name>CC</Name><Value>') + CHARINDEX('<Name>CC</Name><Value>', s.[ExtensionSettings]))) END LIKE '%' + @EmailLike + '%' ) OR ( CASE CHARINDEX('<Name>BCC</Name><Value>', s.[ExtensionSettings]) WHEN 0 THEN '' ELSE SUBSTRING(s.[ExtensionSettings], LEN('<Name>BCC</Name><Value>') + CHARINDEX('<Name>BCC</Name><Value>', s.[ExtensionSettings]), CHARINDEX('</Value>', s.[ExtensionSettings], CHARINDEX('<Name>BCC</Name><Value>', s.[ExtensionSettings]) + 1) - (LEN('<Name>BCC</Name><Value>') + CHARINDEX('<Name>BCC</Name><Value>', s.[ExtensionSettings]))) END LIKE '%' + @EmailLike + '%') ) + true + + + + ItemID + System.Guid + + + Name + System.String + + + Description + System.String + + + Type + System.Int32 + + + Parameter + System.String + + + ReportFolder + System.String + + + ReportPath + System.String + + + URL_ReportFolder + System.String + + + URL_Report + System.String + + + URL + System.String + + + URL2 + System.String + + + ReportCreatedBy + System.String + + + ReportCreationDate + System.DateTime + + + ReportModifiedBy + System.String + + + ReportModifiedDate + System.DateTime + + + SubscriptionOwner + System.String + + + SubscriptionModifiedBy + System.String + + + SubscriptionModifiedDate + System.DateTime + + + SubscriptionID + System.Guid + + + SubscriptionDescription + System.String + + + ExtensionSettings + System.String + + + EventType + System.String + + + EmailSubject + System.String + + + EmailTo + System.String + + + EmailCc + System.String + + + EmailBcc + System.String + + + EmailComment + System.String + + + EmailIncludeLink + System.String + + + EmailRenderFormat + System.String + + + EmailPriority + System.String + + + DeliveryExtension + System.String + + + DeliveryExtensionImage + System.String + + + SubscriptionType + System.String + + + SubscriptionLastStatus + System.String + + + StatusFail + System.String + + + MatchData + System.String + + + RunTime + System.String + + + LastRunDate + System.String + + + LastRunTime + System.DateTime + + + MinutesInterval + System.Int32 + + + DaysInterval + System.Int32 + + + WeeksInterval + System.Int32 + + + DaysOfWeek + System.Int32 + + + DaysOfMonth + System.Int32 + + + Month + System.Int32 + + + MonthlyWeek + System.Int32 + + + JobName + System.Int32 + + + ScheduleName + System.String + + + ScheduleDays + System.String + + + SchDaySun + System.Int32 + + + SchDayMon + System.Int32 + + + SchDayTue + System.Int32 + + + SchDayWed + System.Int32 + + + SchDayThr + System.Int32 + + + SchDayFri + System.Int32 + + + SchDaySat + System.Int32 + + + ScheduleStartDate + System.DateTime + + + ScheduleEndDate + System.DateTime + + + Flags + System.Int32 + + + RecurrenceType + System.Int32 + + + State + System.Int32 + + + EventStatus + System.String + + + EventDateTime + System.DateTime + + + LastStatus + System.String + + + ScheduleID + System.Guid + + + + + + ReportServer + + + =Parameters!all_value.Value + + + WITH catalog_type_description AS ( SELECT tbl.* FROM (VALUES ( 1, 'Folder') , ( 2, 'Report') , ( 3, 'Resource') , ( 4, 'Linked Report') , ( 5, 'Data Source') , ( 6, 'Report Model') , ( 8, 'Shared Dataset') , ( 9, 'Report Part') ) tbl ([TypeID], [TypeDescription]) WHERE [TypeID] = 2 ) SELECT [Report_Folder] = SUBSTRING(c.[Path], 2, Len(c.[Path])-Len(c.[Name])-2) FROM [dbo].[Subscriptions] AS s WITH (NOLOCK) INNER JOIN [dbo].[Catalog] AS c WITH (NOLOCK) ON s.[Report_OID] = c.[ItemID] INNER JOIN catalog_type_description AS ctd ON ctd.[TypeID] = c.[Type] UNION SELECT @all_value ORDER BY 1 + true + + + + Report_Folder + System.Object + + + + + + ReportServer + + + =Parameters!ReportFolder.Value + + + =Parameters!all_value.Value + + + SELECT [Report_Name] = c.[Name] FROM [dbo].[Subscriptions] AS s WITH (NOLOCK) INNER JOIN [dbo].[Catalog] AS c WITH (NOLOCK) ON s.[Report_OID] = c.[ItemID] WHERE 1=1 AND c.[Type] = 2 AND (SUBSTRING(c.[Path], 2, Len(c.[Path])-Len(c.[Name])-2) IN(@ReportFolder) OR @all_value IN (@ReportFolder)) UNION SELECT @all_value ORDER BY 1 + true + + + + Report_Name + System.Object + + + + + + ReportServer + + + =Parameters!all_value.Value + + + SELECT DISTINCT [Status] FROM [dbo].[ExecutionLog] WITH (NOLOCK) UNION SELECT @all_value + true + + + + Status + System.Object + + + + + + ReportServer + + + =Parameters!StartDateTime.Value + + + =Parameters!EndDateTime.Value + + + =Parameters!all_value.Value + + + SELECT DISTINCT [s].[LastStatus] FROM [dbo].[Subscriptions] AS [s] WITH(NOLOCK) WHERE 1 = 1 AND ( [s].[LastRunTime] >= @StartDateTime OR @StartDateTime IS NULL ) AND ( [s].[LastRunTime] <= @EndDateTime OR @EndDateTime IS NULL ) UNION SELECT @all_value ORDER BY 1; + + + + LastStatus + System.Object + + + + + + ReportServer + + + =Parameters!all_value.Value + + + SELECT tbl.* FROM (VALUES ( 'Success') , ( 'Failure') ) tbl ([StatusGroup]) UNION SELECT @all_value + + + + StatusGroup + System.Object + + + + + + + + + + + + + 0.6cm + + + 6cm + + + 0.6cm + + + 6cm + + + 0.6cm + + + 0.6cm + + + 7cm + + + 4.00813cm + + + 2.5cm + + + 3cm + + + 2.5cm + + + 1.15cm + + + 1.15cm + + + 1.15cm + + + 1.15cm + + + 1.15cm + + + 1.15cm + + + 1.15cm + + + 3.25cm + + + 3.25cm + + + 9.75cm + + + 6.25cm + + + 6cm + + + 6cm + + + 10cm + + + 2.25cm + + + 2.75cm + + + 2.25cm + + + 5.02646cm + + + 3cm + + + 10.5cm + + + 2.25cm + + + 2.25cm + + + 3.25cm + + + 2.67333cm + + + 3.25cm + + + 2.77917cm + + + 3.25cm + + + 6cm + + + + + 1cm + + + + + true + true + + + + + + + + + + + + + 0.75pt + + + + + =Variables!ColorTableHeaderBackground.Value + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Report Folder + + + + + + + + 0.75pt + + + + + =Variables!ColorTableHeaderBackground.Value + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + + + + + + + + + 0.75pt + + + + + =Variables!ColorTableHeaderBackground.Value + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Report Name + + + + + + + + 0.75pt + + + + + + + + =Variables!ColorTableHeaderBackground.Value + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + + + + + + + + + 0.75pt + + + + + + + + + + + + + + =Variables!ColorTableHeaderBackground.Value + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + + + + + + + + + 0.75pt + + + + + + + + + + + + + + =Variables!ColorTableHeaderBackground.Value + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Subscription Description + + + + + + + + 0.75pt + + =Variables!ColorTableHeaderBackground.Value + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Delivery Extension + + + + + + + Textbox2 + + 0.75pt + + =Variables!ColorTableHeaderBackground.Value + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Subscription Type + + + + + + + Textbox4 + + 0.75pt + + =Variables!ColorTableHeaderBackground.Value + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Shared Name + + + + + + + + 0.75pt + + =Variables!ColorTableHeaderBackground.Value + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Schedule + + + + + + + + 0.75pt + + =Variables!ColorTableHeaderBackground.Value + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Sun + + + + + + + + 0.75pt + + =Variables!ColorTableHeaderBackground.Value + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Mon + + + + + + + + 0.75pt + + =Variables!ColorTableHeaderBackground.Value + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Tue + + + + + + + + 0.75pt + + =Variables!ColorTableHeaderBackground.Value + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Wed + + + + + + + + 0.75pt + + =Variables!ColorTableHeaderBackground.Value + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Thu + + + + + + + + 0.75pt + + =Variables!ColorTableHeaderBackground.Value + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Fri + + + + + + + + 0.75pt + + =Variables!ColorTableHeaderBackground.Value + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Sat + + + + + + + + 0.75pt + + =Variables!ColorTableHeaderBackground.Value + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Subscription Run Time + + + + + + + + 0.75pt + + =Variables!ColorTableHeaderBackground.Value + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Subscription End Date + + + + + + + + 0.75pt + + =Variables!ColorTableHeaderBackground.Value + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Subject + + + + + + + + 0.75pt + + =Variables!ColorTableHeaderBackground.Value + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Email To + + + + + + + + 0.75pt + + =Variables!ColorTableHeaderBackground.Value + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Email Cc + + + + + + + + 0.75pt + + =Variables!ColorTableHeaderBackground.Value + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Email Bcc + + + + + + + + 0.75pt + + =Variables!ColorTableHeaderBackground.Value + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Email Comment + + + + + + + + 0.75pt + + =Variables!ColorTableHeaderBackground.Value + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Include Link + + + + + + + + 0.75pt + + =Variables!ColorTableHeaderBackground.Value + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Render Format + + + + + + + + 0.75pt + + =Variables!ColorTableHeaderBackground.Value + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Priority + + + + + + + + 0.75pt + + =Variables!ColorTableHeaderBackground.Value + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Parameters + + + + + + + + 0.75pt + + =Variables!ColorTableHeaderBackground.Value + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Last Run Status + + + + + + + + 0.75pt + + =Variables!ColorTableHeaderBackground.Value + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Subscription Status + + + + + + + + 0.75pt + + =Variables!ColorTableHeaderBackground.Value + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Subscription Owner + + + + + + + + 0.75pt + + =Variables!ColorTableHeaderBackground.Value + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Subscription Modified By + + + + + + + + 0.75pt + + =Variables!ColorTableHeaderBackground.Value + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + + =Fields!SubscriptionModifiedDate.Value + grpDetails2 + Subscriptions + + true + + + + + Subscription Modified Date + + + + + + + + 0.75pt + + =Variables!ColorTableHeaderBackground.Value + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Report Created By + + + + + + + + 0.75pt + + =Variables!ColorTableHeaderBackground.Value + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Report Created Date + + + + + + + + 0.75pt + + =Variables!ColorTableHeaderBackground.Value + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Report Modified By + + + + + + + + 0.75pt + + =Variables!ColorTableHeaderBackground.Value + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Report Modified Date + + + + + + + + 0.75pt + + =Variables!ColorTableHeaderBackground.Value + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Schedule ID + + + + + + + Textbox1 + + 0.75pt + + =Variables!ColorTableHeaderBackground.Value + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + 0.6cm + + + + + true + true + + + + + + + + + + 0.75pt + + + + + =Code.CandyStripe(True, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value) + + Embedded + folder + Clip + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!ReportFolder.Value + + + + + 0.75pt + + + + + =Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value) + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + + + + + + 0.75pt + + + + + =Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value) + + Embedded + =IIF(Fields!Type.Value = 2, "report", "report_link") + Clip + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!Name.Value + + + + + 0.75pt + + + + + + + + =Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value) + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + + + + + + 0.75pt + + + + + + + + =Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value) + + Embedded + =Fields!DeliveryExtensionImage.Value + Clip + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + + + + + + 0.75pt + + + + + + + + =Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value) + + Embedded + log + Clip + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!SubscriptionDescription.Value + + + + + + + + 0.75pt + + =Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value) + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!DeliveryExtension.Value + + + + + + + DeliveryExtension + + 0.75pt + + =Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value) + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!SubscriptionType.Value + + + + + + + SubscriptionType1 + + 0.75pt + + =Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value) + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!ScheduleName.Value + + + + + + + 28 + + 0.75pt + + =Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value) + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!ScheduleDays.Value + + + + + + + 27 + + 0.75pt + + =Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value) + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =IIf(Fields!SchDaySun.Value = "0", "", Fields!RunTime.Value) + + + + + + + 26 + + 0.75pt + + =Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value) + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =IIf(Fields!SchDayMon.Value = "0", "", Fields!RunTime.Value) + + + + + + + 25 + + 0.75pt + + =Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value) + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =IIf(Fields!SchDayTue.Value = "0", "", Fields!RunTime.Value) + + + + + + + 24 + + 0.75pt + + =Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value) + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =IIf(Fields!SchDayWed.Value = "0", "", Fields!RunTime.Value) + + + + + + + 23 + + 0.75pt + + =Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value) + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =IIf(Fields!SchDayThr.Value = "0", "", Fields!RunTime.Value) + + + + + + + 22 + + 0.75pt + + =Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value) + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =IIf(Fields!SchDayFri.Value = "0", "", Fields!RunTime.Value) + + + + + + + 21 + + 0.75pt + + =Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value) + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =IIf(Fields!SchDaySat.Value = "0", "", Fields!RunTime.Value) + + + + + + + 20 + + 0.75pt + + =Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value) + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!EventDateTime.Value + + + + + + + 19 + + 0.75pt + + =Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value) + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!ScheduleEndDate.Value + + + + + + + 18 + + 0.75pt + + =Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value) + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!EmailSubject.Value + + + + + 0.75pt + + =Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value) + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!EmailTo.Value + + + + + 0.75pt + + =Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value) + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!EmailCc.Value + + + + + 0.75pt + + =Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value) + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!EmailBcc.Value + + + + + 0.75pt + + =Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value) + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!EmailComment.Value + + + + + 0.75pt + + =Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value) + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!EmailIncludeLink.Value + + + + + 0.75pt + + =Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value) + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!EmailRenderFormat.Value + + + + + 0.75pt + + =Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value) + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!EmailPriority.Value + + + + + 0.75pt + + =Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value) + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!Parameter.Value + + + + + 0.75pt + + =Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value) + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!EventStatus.Value + + + + + 0.75pt + + =Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value) + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!SubscriptionLastStatus.Value + + + + + 0.75pt + + =Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value) + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!SubscriptionOwner.Value + + + + + + + 6 + + 0.75pt + + =Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value) + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!SubscriptionModifiedBy.Value + + + + + + + 5 + + 0.75pt + + =Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value) + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!SubscriptionModifiedDate.Value + + + + + + + 4 + + 0.75pt + + =Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value) + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!ReportCreatedBy.Value + + + + + + + 3 + + 0.75pt + + =Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value) + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!ReportCreationDate.Value + + + + + + + 2 + + 0.75pt + + =Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value) + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!ReportModifiedBy.Value + + + + + + + 1 + + 0.75pt + + =Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value) + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!ReportModifiedDate.Value + + + + + + + + 0.75pt + + =Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value) + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!ScheduleID.Value + + + + + + + ScheduleID + + 0.75pt + + =Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value) + 2pt + 2pt + 2pt + 2pt + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + =Not Parameters!ShowEmailDetails.Value + + + + + =Not Parameters!ShowEmailDetails.Value + + + + + =Not Parameters!ShowEmailDetails.Value + + + + + =Not Parameters!ShowEmailDetails.Value + + + + + =Not Parameters!ShowEmailDetails.Value + + + + + =Not Parameters!ShowEmailDetails.Value + + + + + =Not Parameters!ShowEmailDetails.Value + + + + + =Not Parameters!ShowParameters.Value + + + + + =Not Parameters!ShowEmailDetails.Value + + + + + =Not Parameters!ShowEmailDetails.Value + + + + + + + + + + + + + + + + true + After + true + true + + + + + =Fields!SubscriptionID.Value + + Detail + + + + =Fields!ReportFolder.Value + + + =Fields!Name.Value + + + =Fields!EmailSubject.Value + + + + + + Detail_Collection + Output + true + + + + Subscriptions + + Start + + 1.6cm + 137.43709cm + + 0.75pt + + Calibri + 8pt + + + + 1.6cm + + + + =IIF(IsNothing(Parameters!StartDateTime.Value) And IsNothing(Parameters!EndDateTime.Value), "", vbcrlf) + IIF(IsNothing(Parameters!StartDateTime.Value), "", "From: ") + Format(Parameters!StartDateTime.Value, Variables!FormatDateTime.Value) + IIF(IsNothing(Parameters!EndDateTime.Value), "", " To: ") + Format(Parameters!EndDateTime.Value, Variables!FormatDateTime.Value) + + + + 2pt + + + + Textbox8 + 2.75cm + 24.86472cm + + =IIF(Globals!RenderFormat.Name = "EXCELOPENXML", true, false) + + + + Middle + 25pt + 2pt + 2pt + 2pt + + + + Embedded + ssrs + FitProportional + 24.86472cm + 2.75cm + 4.30514cm + 1 + + =IIF(Globals!RenderFormat.Name = "EXCELOPENXML", true, false) + + + + + + + + 0.75pt + + + + + + + + 0.92063cm + true + true + + + true + true + true + + + + + ="© " + Variables!CompanyName.Value + " " + Year(Today).ToString + + + + 2pt + + + + + + =Variables!UrlReport.Value + + + + ="javascript:void(window.open('" + Variables!UrlReportWithParameters.Value + "','_blank'))" + + + + Open the report with the current parameters in a separate tab + + + + 2pt + + + + 0.92063cm + 21cm + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + true + + + + + ="Page: " & Globals!PageNumber.ToString() + " of " + Globals!TotalPages.ToString() + Environment.NewLine + "Produced By: " + Variables!UserName.Value + " @ " + Variables!ReportRunDateTime.Value + + + + 2pt + + + + 21cm + 0.92063cm + 8.16986cm + 1 + + + + + 0.75pt + + + + + + + 21cm + 29.7cm + 11in + 8.5in + 0.25cm + 0.25cm + 0.25cm + 0.25cm + 1cm + 0.75pt=Variables!ColorTableHeaderBackground.ValueMiddle2pt2pt2pt2pttruetrueReport Folder0.75pt=Variables!ColorTableHeaderBackground.ValueMiddle2pt2pt2pt2pttruetrue0.75pt=Variables!ColorTableHeaderBackground.ValueMiddle2pt2pt2pt2pttruetrueReport Name0.75pt=Variables!ColorTableHeaderBackground.ValueMiddle2pt2pt2pt2pttruetrue0.75pt=Variables!ColorTableHeaderBackground.ValueMiddle2pt2pt2pt2pttruetrue0.75pt=Variables!ColorTableHeaderBackground.ValueMiddle2pt2pt2pt2pttruetrueSubscription Description0.75pt=Variables!ColorTableHeaderBackground.ValueMiddle2pt2pt2pt2pttruetrueDelivery ExtensionTextbox20.75pt=Variables!ColorTableHeaderBackground.ValueMiddle2pt2pt2pt2pttruetrueSubscription TypeTextbox40.75pt=Variables!ColorTableHeaderBackground.ValueMiddle2pt2pt2pt2pttruetrueShared Name0.75pt=Variables!ColorTableHeaderBackground.ValueMiddle2pt2pt2pt2pttruetrueSchedule0.75pt=Variables!ColorTableHeaderBackground.ValueMiddle2pt2pt2pt2pttruetrueSun0.75pt=Variables!ColorTableHeaderBackground.ValueMiddle2pt2pt2pt2pttruetrueMon0.75pt=Variables!ColorTableHeaderBackground.ValueMiddle2pt2pt2pt2pttruetrueTue0.75pt=Variables!ColorTableHeaderBackground.ValueMiddle2pt2pt2pt2pttruetrueWed0.75pt=Variables!ColorTableHeaderBackground.ValueMiddle2pt2pt2pt2pttruetrueThu0.75pt=Variables!ColorTableHeaderBackground.ValueMiddle2pt2pt2pt2pttruetrueFri0.75pt=Variables!ColorTableHeaderBackground.ValueMiddle2pt2pt2pt2pttruetrueSat0.75pt=Variables!ColorTableHeaderBackground.ValueMiddle2pt2pt2pt2pttruetrueSubscription Run Time0.75pt=Variables!ColorTableHeaderBackground.ValueMiddle2pt2pt2pt2pttruetrueSubscription End Date0.75pt=Variables!ColorTableHeaderBackground.ValueMiddle2pt2pt2pt2pttruetrueSubject0.75pt=Variables!ColorTableHeaderBackground.ValueMiddle2pt2pt2pt2pttruetrueEmail To0.75pt=Variables!ColorTableHeaderBackground.ValueMiddle2pt2pt2pt2pttruetrueEmail Cc0.75pt=Variables!ColorTableHeaderBackground.ValueMiddle2pt2pt2pt2pttruetrueEmail Bcc0.75pt=Variables!ColorTableHeaderBackground.ValueMiddle2pt2pt2pt2pttruetrueEmail Comment0.75pt=Variables!ColorTableHeaderBackground.ValueMiddle2pt2pt2pt2pttruetrueInclude Link0.75pt=Variables!ColorTableHeaderBackground.ValueMiddle2pt2pt2pt2pttruetrueRender Format0.75pt=Variables!ColorTableHeaderBackground.ValueMiddle2pt2pt2pt2pttruetruePriority0.75pt=Variables!ColorTableHeaderBackground.ValueMiddle2pt2pt2pt2pttruetrueParameters0.75pt=Variables!ColorTableHeaderBackground.ValueMiddle2pt2pt2pt2pttruetrueLast Run Status0.75pt=Variables!ColorTableHeaderBackground.ValueMiddle2pt2pt2pt2pttruetrueSubscription Status0.75pt=Variables!ColorTableHeaderBackground.ValueMiddle2pt2pt2pt2pttruetrueSubscription Owner0.75pt=Variables!ColorTableHeaderBackground.ValueMiddle2pt2pt2pt2pttruetrueSubscription Modified By0.75pt=Variables!ColorTableHeaderBackground.ValueMiddle2pt2pt2pt2pttrue=Fields!SubscriptionModifiedDate.ValuegrpDetails2SubscriptionstrueSubscription Modified Date0.75pt=Variables!ColorTableHeaderBackground.ValueMiddle2pt2pt2pt2pttruetrueReport Created By0.75pt=Variables!ColorTableHeaderBackground.ValueMiddle2pt2pt2pt2pttruetrueReport Created Date0.75pt=Variables!ColorTableHeaderBackground.ValueMiddle2pt2pt2pt2pttruetrueReport Modified By0.75pt=Variables!ColorTableHeaderBackground.ValueMiddle2pt2pt2pt2pttruetrueReport Modified Date0.75pt=Variables!ColorTableHeaderBackground.ValueMiddle2pt2pt2pt2pttruetrueSchedule IDTextbox10.75pt=Variables!ColorTableHeaderBackground.ValueMiddle2pt2pt2pt2pt0.6cmtruetrue0.75pt=Code.CandyStripe(True, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value)EmbeddedfolderClip2pt2pt2pt2pttruetrue=Fields!ReportFolder.Value0.75pt=Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value)2pt2pt2pt2pttruetrue0.75pt=Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value)Embedded=IIF(Fields!Type.Value = 2, "report", "report_link")Clip2pt2pt2pt2pttruetrue=Fields!Name.Value0.75pt=Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value)2pt2pt2pt2pttruetrue0.75pt=Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value)Embedded=Fields!DeliveryExtensionImage.ValueClip2pt2pt2pt2pttruetrue0.75pt=Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value)EmbeddedlogClip2pt2pt2pt2pttruetrue=Fields!SubscriptionDescription.Value0.75pt=Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value)2pt2pt2pt2pttruetrue=Fields!DeliveryExtension.ValueDeliveryExtension0.75pt=Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value)2pt2pt2pt2pttruetrue=Fields!SubscriptionType.ValueSubscriptionType10.75pt=Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value)2pt2pt2pt2pttruetrue=Fields!ScheduleName.Value280.75pt=Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value)2pt2pt2pt2pttruetrue=Fields!ScheduleDays.Value270.75pt=Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value)2pt2pt2pt2pttruetrue=IIf(Fields!SchDaySun.Value = "0", "", Fields!RunTime.Value)260.75pt=Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value)2pt2pt2pt2pttruetrue=IIf(Fields!SchDayMon.Value = "0", "", Fields!RunTime.Value)250.75pt=Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value)2pt2pt2pt2pttruetrue=IIf(Fields!SchDayTue.Value = "0", "", Fields!RunTime.Value)240.75pt=Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value)2pt2pt2pt2pttruetrue=IIf(Fields!SchDayWed.Value = "0", "", Fields!RunTime.Value)230.75pt=Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value)2pt2pt2pt2pttruetrue=IIf(Fields!SchDayThr.Value = "0", "", Fields!RunTime.Value)220.75pt=Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value)2pt2pt2pt2pttruetrue=IIf(Fields!SchDayFri.Value = "0", "", Fields!RunTime.Value)210.75pt=Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value)2pt2pt2pt2pttruetrue=IIf(Fields!SchDaySat.Value = "0", "", Fields!RunTime.Value)200.75pt=Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value)2pt2pt2pt2pttruetrue=Fields!EventDateTime.Value190.75pt=Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value)2pt2pt2pt2pttruetrue=Fields!ScheduleEndDate.Value180.75pt=Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value)2pt2pt2pt2pttruetrue=Fields!EmailSubject.Value0.75pt=Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value)2pt2pt2pt2pttruetrue=Fields!EmailTo.Value0.75pt=Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value)2pt2pt2pt2pttruetrue=Fields!EmailCc.Value0.75pt=Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value)2pt2pt2pt2pttruetrue=Fields!EmailBcc.Value0.75pt=Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value)2pt2pt2pt2pttruetrue=Fields!EmailComment.Value0.75pt=Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value)2pt2pt2pt2pttruetrue=Fields!EmailIncludeLink.Value0.75pt=Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value)2pt2pt2pt2pttruetrue=Fields!EmailRenderFormat.Value0.75pt=Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value)2pt2pt2pt2pttruetrue=Fields!EmailPriority.Value0.75pt=Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value)2pt2pt2pt2pttruetrue=Fields!Parameter.Value0.75pt=Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value)2pt2pt2pt2pttruetrue=Fields!EventStatus.Value0.75pt=Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value)2pt2pt2pt2pttruetrue=Fields!SubscriptionLastStatus.Value0.75pt=Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value)2pt2pt2pt2pttruetrue=Fields!SubscriptionOwner.Value60.75pt=Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value)2pt2pt2pt2pttruetrue=Fields!SubscriptionModifiedBy.Value50.75pt=Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value)2pt2pt2pt2pttruetrue=Fields!SubscriptionModifiedDate.Value40.75pt=Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value)2pt2pt2pt2pttruetrue=Fields!ReportCreatedBy.Value30.75pt=Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value)2pt2pt2pt2pttruetrue=Fields!ReportCreationDate.Value20.75pt=Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value)2pt2pt2pt2pttruetrue=Fields!ReportModifiedBy.Value10.75pt=Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value)2pt2pt2pt2pttruetrue=Fields!ReportModifiedDate.Value0.75pt=Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value)2pt2pt2pt2pttruetrue=Fields!ScheduleID.ValueScheduleID0.75pt=Code.CandyStripe(False, Variables!ColorCandyStripeEvenRow.Value, Variables!ColorCandyStripeOddRow.Value)2pt2pt2pt2pt=Not Parameters!ShowEmailDetails.Value=Not Parameters!ShowEmailDetails.Value=Not Parameters!ShowEmailDetails.Value=Not Parameters!ShowEmailDetails.Value=Not Parameters!ShowEmailDetails.Value=Not Parameters!ShowEmailDetails.Value=Not Parameters!ShowEmailDetails.Value=Not Parameters!ShowParameters.Value=Not Parameters!ShowEmailDetails.Value=Not Parameters!ShowEmailDetails.ValuetrueAftertruetrue=Fields!SubscriptionID.ValueDetail=Fields!ReportFolder.Value=Fields!Name.Value=Fields!EmailSubject.ValueDetail_CollectionOutputtrueSubscriptionsStart1.6cm137.43709cm0.75ptCalibri8pt1.6cm =IIF(IsNothing(Parameters!StartDateTime.Value) And IsNothing(Parameters!EndDateTime.Value), "", vbcrlf) + IIF(IsNothing(Parameters!StartDateTime.Value), "", "From: ") + Format(Parameters!StartDateTime.Value, Variables!FormatDateTime.Value) + IIF(IsNothing(Parameters!EndDateTime.Value), "", " To: ") + Format(Parameters!EndDateTime.Value, Variables!FormatDateTime.Value) 2ptTextbox82.75cm24.86472cm=IIF(Globals!RenderFormat.Name = "EXCELOPENXML", true, false)Middle25pt2pt2pt2ptEmbeddedssrsFitProportional24.86472cm2.75cm4.30514cm1=IIF(Globals!RenderFormat.Name = "EXCELOPENXML", true, false)0.75pt0.92063cmtruetruetruetruetrue="© " + Variables!CompanyName.Value + " " + Year(Today).ToString2pt=Variables!UrlReport.Value="javascript:void(window.open('" + Variables!UrlReportWithParameters.Value + "','_blank'))"Open the report with the current parameters in a separate tab2pt0.92063cm21cm2pt2pt2pt2pttruetruetrue ="Page: " & Globals!PageNumber.ToString() + " of " + Globals!TotalPages.ToString() + Environment.NewLine + "Produced By: " + Variables!UserName.Value + " @ " + Variables!ReportRunDateTime.Value 2pt21cm0.92063cm8.16986cm10.75pt21cm29.7cm11in8.5in0.25cm0.25cm0.25cm0.25cm1cm + + + + + + + + + + + + + +