共用方式為


Methods, clsDatabase

[!附註]

  下一版的 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

請參閱

參考