Share via


RevokeClientLock method of the MSFT_NfsServerTasks class

Revokes a lock that a client computer holds on files shared by the Windows NFS server.

Syntax

uint32 RevokeClientLock(
  [in] string ClientComputerName,
  [in] string LockedFilePath
);

Parameters

ClientComputerName [in]

Type: string

The name of the client computer that hold the lock.

LockedFilePath [in]

Type: string

The path to the locked file.

Requirements

Minimum supported client
Windows 8
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\NFS
MOF
NfsCimProv.mof
DLL
NfsCimProv.dll

See also

MSFT_NfsClientLock

MSFT_NfsServerTasks