Methods, clsDatabase

ms132812.note(zh-cn,SQL.90).gif注意:
  下一版本的 Microsoft SQL Server 将删除该功能。请不要在新的开发工作中使用该功能,并尽快修改当前还在使用该功能的应用程序。

An object of ClassType clsDatabase implements the following methods of the MDStore interface.

Method Description

BeginTrans

Begins the transaction on the database

Clone

Copies the property values and (optionally) the collections of major and minor objects from one database object to another

CommitTrans

Commits the transaction on the database

LockObject

The LockObject method of the Database interface locks an object to prevent multiple users from concurrently changing the object

Process

Processes the database

Rollback

Rolls back the transaction on the database

UnlockObject

Releases a lock previously established by the LockObject method

Update

Updates the database definition in the metadata repository

请参阅

参考

clsDatabase
MDStore Interface

帮助和信息

获取 SQL Server 2005 帮助