次の方法で共有


clsDatabase

ms135584.note(ja-jp,SQL.90).gifメモ :
  この機能は、Microsoft SQL Server の次のバージョンで削除されます。新規の開発作業ではこの機能を使用しないようにし、現在この機能を使用しているアプリケーションはできるだけ早く修正してください。

An object of the ClassType clsDatabase provides a specific implementation of the Decision Support Objects (DSO) MDStore interface. This object provides collections, methods, and properties through the MDStore interface.

使用例

Use the following code to create an object of ClassType clsDatabase:

' Assume an object (dsoServer) of ClassType clsServer exists
Dim dsoDatabase As DSO.MDStore ' Create an interface for the database.
' Use the AddNew method of the server's MDStores collection to create
' the new database:
Set dsoDatabase = dsoServer.MDStores.AddNew("MyDatabase")

参照

関連項目

Collections, clsDatabase
MDStore Interface
Methods, clsDatabase
Properties, clsDatabase

概念

Working with Databases

ヘルプおよび情報

SQL Server 2005 の参考資料の入手