SMS_ObjectLockRequest Server WMI Class
Applies To: System Center 2012 Configuration Manager, System Center 2012 Configuration Manager SP1, System Center 2012 R2 Configuration Manager
The SMS_ObjectLockRequest Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents object lock request information.
The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.
Syntax
Class SMS_ObjectLockRequest :
{
String AssignedMachine;
String AssignedObjectLockContext;
String AssignedSiteCode;
DateTime AssignedTimeUTC;
String AssignedUser;
UInt32 LockState;
String ObjectRelPath;
String RequestID;
UInt32 RequestState;
};
Methods
The SMS_ObjectLockRequest class does not define any methods.
Properties
AssignedMachine
Data type: StringAccess type: Read/Write
Qualifiers: none
Indicates the currently assigned computer of the requested lock.
AssignedObjectLockContext
Data type: StringAccess type: Read/Write
Qualifiers: none
Indicates ObjectLockContext the lock is currently assigned to.
AssignedSiteCode
Data type: StringAccess type: Read/Write
Qualifiers: none
Indicates the current site of the requested lock.
AssignedTimeUTC
Data type: DateTimeAccess type: Read/Write
Qualifiers: none
Indicates the time at which the requested lock was assigned.
AssignedUser
Data type: StringAccess type: Read/Write
Qualifiers: none
Indicates the currently assigned user of the requested lock.
LockState
Data type: UInt32Access type: Read/Write
Qualifiers: none
Indicates the current state of the requested lock. Possible values are:
0
Unassigned
1
Assigned
2
Requested
3
PendingAssignment
4
TimedOut
5
NotFound
ObjectRelPath
Data type: StringAccess type: Read/Write
Qualifiers: none
The path of the object for which the lock is requested.
RequestID
Data type: StringAccess type: Read/Write
Qualifiers: none
Unique identifier of the request.
RequestState
Data type: UInt32Access type: Read/Write
Qualifiers: none
Request state values. The request states Granted, GrantedAfterTimeout and GrantedLockWasOrphaned indicate a successful request and the user can then make and save modifications to the object. All other requests indicate an error.
RequestStateID
RequestStateName
0
Unknown
2
Requested
3
RequestedCanceled
4
ResponseReceived
10
Granted
11
GrantedAfterTimeout
12
GrantedLockWasOrphaned
20
DeniedLockAlreadyAssigned
21
DeniedInvalidObjectVersion
22
DeniedLockNotFound
23
DeniedLockNotLocal
24
DeniedRequestTimedOut
50
Error
52
ErrorRequestNotFound
53
ErrorRequestTimedOut
Remarks
Requirements
Runtime Requirements
For more information, see Configuration Manager Server Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Server Development Requirements.
See Also
Configuration Manager SEDO Server WMI Classes
Configuration Manager Reference