Microsoft SDK for Java

getNumLocks

This method of the SafeArray Class retrieves the number of outstanding locks on the SafeArray object. This value (which is usually zero) is only useful for debugging purposes.

Syntax

public int getNumLocks();

Return Value

Returns the outstanding lock count.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.