ITcpipSocket::LockRsrc
Description
Locks the resource.
VB Prototype
value As 
				String = LockRsrc(
                                        
  type As AccessMode, ' Optional Parameter
  lockTimeout As Long, ' Optional Parameter
  requestedKey As String ' Optional Parameter
)
	
C++ Prototype
HRESULT LockRsrc(
                                        
  AccessMode type,
  long lockTimeout,
  BSTR requestedKey,
  BSTR* pAccessKey
);
	
Parameters
type
[Optional in Visual Basic] The Lock type to attempt.
lockTimeout
[Optional in Visual Basic] The lock timeout.
requestedKey
[Optional in Visual Basic] The requested key.
pAccessKey
The access key.
Return Value
Refer to the table of return codes.
See Also
ComponentVersion, SpecVersion, HardwareInterfaceName, HardwareInterfaceNumber, HardwareInterfaceType, LockState, OptionString, ProgID, ResourceName, SessionType, SoftwareManufacturerID, SoftwareManufacturerName, Timeout, LastStatus, Address, HostName, KeepAlive, NoDelay, Port, GetAttribute, SetAttribute, LockRsrc, UnlockRsrc, Init, Close, SetBufferSize, Flush, ITcpipSocket Overview