This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace SSASEventStreamSample | |
{ | |
using Microsoft.AnalysisServices.AdomdClient; | |
using Microsoft.SqlServer.XEvent.Linq; | |
using System; | |
using System.Data; | |
using System.Xml; | |
class Program | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Permanent copy of schema extended properties | |
-- In a format suitable for easy source control and hand-editing. | |
-- All the properties are prefixed and only those will be added/updated/deleted by this script | |
-- At the bottom you'll find a commented-out `select` for generating the | |
-- insert block from an existing schema's extended properties. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# It might work in 4, but I'm not testing there. Lower you'll have to tweak code | |
#requires -Version 5.0 | |
param( | |
# Your Live ID for MSDN login | |
[Parameter(Mandatory)] | |
[PSCredential] | |
[System.Management.Automation.CredentialAttribute()] | |
$Credential, | |
# Pick a browser to use. Defaults to Firefox (which doesn't seem to require an external Driver file) |