This document is archived and information here might be outdated. Recommended version. |
Correct orphan job locks for current machine, and return current lock information.
[Visual Basic .NET]
Public Sub ValidateJobLock ( _
ByRef Locked As Boolean, _
ByRef LockingMachine As String, _
ByRef LockingPID As Integer _
)
[C#]
public void ValidateJobLock (
ref bool Locked,
ref string LockingMachine,
ref int LockingPID
);
[C++]
HRESULT ValidateJobLock(
Boolean* Locked,
System.String* LockingMachine,
System.Int32* LockingPID
);
[C++] Parameters Locked [in, out]
Locked is a parameter of type bool* LockingMachine [in, out]
LockingMachine is a parameter of type BSTR* LockingPID [in, out]
LockingPID is a parameter of type long*
Validates the MachineName and ProcessID values in the Jobs table.