The SMS_ObjectLock abstract Windows Management Instrumentation (WMI) class is an SMS Provider server class, in System Center 2012 Configuration Manager, that represents methods for locking and unlocking global objects.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.

Class SMS_ObjectLock : SMS_BaseClass
{
};

Methods

The following table shows the methods in SMS_ObjectLock.

Method Description

CancelLockRequest Method in Class SMS_ObjectLock

Cancels a lock request.

CancelLockRequests Method in Class SMS_ObjectLock

Cancels multiple lock requests.

CheckLockRequest Method in Class SMS_ObjectLock

Checks a lock request.

CheckLockRequests Method in Class SMS_ObjectLock

Checks multiple lock requests.

GetLockInformation Method in Class SMS_ObjectLock

Gets current lock information.

ReleaseAllLocks Method in Class SMS_ObjectLock

Releases all locks for a session.

ReleaseLock Method in Class SMS_ObjectLock

Releases a lock to global object.

ReleaseLocks Method in Class SMS_ObjectLock

Releases locks to multiple global objects.

RequestLock Method in Class SMS_ObjectLock

Synchronously acquires a lock to edit global object.

RequestLockAsync Method in Class SMS_ObjectLock

Asynchronously acquires a lock to edit global objects.

RequestLocks Method in Class SMS_ObjectLock

Synchronously acquires a lock to edit a global object.

RequestLocksAsync Method in Class SMS_ObjectLock

Asynchronously acquires locks to edit multiple global objects.

Properties

None.

Remarks

Class qualifiers for this class include:

  • Abstract

For more information about both the class qualifiers and the property qualifiers included in the Properties section, see Configuration Manager Class and Property Qualifiers.

Requirements

Runtime Requirements

Development Requirements