Create Mining Structure and Mining Model with code


      

thank help.

the errors can see in code gave in answer following , more or less same had previously

 

i tried code have encounter following problems.

 

1.      in line have declaration as server, as database in

public function createdatabase(byval srv server, byval databasename string) database gives me problem type database not declared same type server not declared , not give me option.

 

2.      in addition as datasource, relationaldatasource, relationaldatasourceview, scalarminingstructurecolumn, datasourceviewbinding, gives me problem type not declared.

 

3.      finally in mc = new miningmodelcolumn("yearly income", utils.getsyntacticallyvalidid("yearly income", type.gettype(miningmodelcolumn))) not accesible in context because 'private'.

i have more problems thing solving above referred solve rest.

 

thank way.

best regards,

manolis




phd student

    

i think need add reference microsoft.analysisservices  (shows analysis management objects in add references dialog) , need add statement

 

using microsoft.analysisservices;

to top of c# file



SQL Server  >  Data Mining



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........