Skip to content

Instantly share code, notes, and snippets.

View almazini's full-sized avatar

Aleksej almazini

  • Vilnius, Lithuania
View GitHub Profile
@dankor
dankor / CubeProcess.py
Created May 26, 2017 20:13
pythonet cube processing
import CLR
from CLR.System.Reflection import Assembly
Assembly.LoadWithPartialName("AnalysisServices.DLL")
from CLR.Microsoft.AnalysisServices import Server
from CLR.Microsoft.AnalysisServices import ProcessType
serverName = 'localhost\sql2005'
dbName = 'MyDatabase'