MiningModels Collection

ms133279.note(de-de,SQL.90).gifHinweis:
  Dieses Feature wird in der nächsten Version von Microsoft SQL Server entfernt. Verwenden Sie dieses Feature nicht zum Entwickeln neuer Anwendungen, und planen Sie das Ändern von Anwendungen, in denen es zurzeit verwendet wird, zum frühstmöglichen Zeitpunkt ein.

The MiningModels collection contains the data mining models within a database.

The following object contains a MiningModels collection:

  • clsDatabase

Each MiningModels collection contains the data mining model objects that make up the data mining models for the entire database.

Hinweise

The ContainedClassType property for this collection always returns clsMiningModel.

Beispiel

The following example connects to an Analysis server and creates a data mining model in the FoodMart 2000 sample database called FoodMartMiningModel:

Dim s as DSO.Server
Dim db as DSO.MDStores ' Create an interface for the FoodMart 2000
' database.
Dim dmm as DSO.MiningModel
' Connect to the server.
Set s = new DSO.Server
s.Connect ("LocalHost")
' Get a reference to the FoodMart 2000 database.
set db = s.MDStores("FoodMart 2000")
'Create the data mining model using the AddNew method.
set dmm = db.MiningModels.AddNew("FoodMartMiningModel")
' ... Continue by setting various properties for the new object...

Siehe auch

Verweis

clsMiningModel
clsDatabase
clsServer

Hilfe und Informationen

Informationsquellen für SQL Server 2005