Analysis Services Programming
Parent (clsMiningModel)
The Parent property of an object of ClassType clsMiningModel contains a reference to the parent database object of the mining model.
Data Type
Access
Read-only
Example
The following example will print the string "mining model is owned by database", where mining model is the name of the mining model and database is the name of the database that owns the mining model:
' Assume the existence of a mining model object called dsoDMM.
Debug.Print dsoDMM.Name & " is owned by " & dsoDMM.Parent.Name