LockObject (clsServer)
[!附註]
下一版的 Microsoft SQL Server 將不再提供此功能。請勿在新的開發工作中使用此功能,並且儘速修改使用此功能的應用程式。
The LockObject method of an object of ClassType clsServer locks the clsServer object to prevent multiple users from concurrently changing the object.
語法
object.LockObject(ByVal LockType As OlapLockTypes, ByVal LockDescription As String)
參數
object
An object of ClassType clsServer.LockType
One of the constants defined in the OlapLockTypes enumeration. For more information, see OlapLockTypes.sLockDescription
A string containing the description of the lock, available to other applications attempting to obtain a lock.