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.