ITcpipSocket2::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
Address, Close, ComponentVersion, Flush,GetAttribute, HardwareInterfaceName, HardwareInterfaceNumber, HardwareInterfaceType, HostName, Init, KeepAlive, LockRsrc, LastStatus, , LockState, NoDelay, OptionString, Port, , ProgID, ResourceName, ServerCertificate, ServerCertificateExpirationDate, ServerCertificateIsPerpetual, ServerCertificateIssuerName, ServerCertificateSubjectName, SessionType, SetAttribute, SetBufferSize, SoftwareManufacturerID, SoftwareManufacturerName, SpecVersion, Timeout, TlsCipherSuite , UnlockRsrc, ITcpipSocket2 Overview