Share via


MSNFS_ClientLock class

[The NFS Legacy WMI Classes are no longer available as of Windows Server 2012. Instead, use the NFS WMI Classes.]

Represents locks held by clients on the NFS server. This class is not available on client operating systems such as Windows 7.

This class is superseded by the MSFT_NfsClientLock class.

The following syntax is simplified from Managed Object Format (MOF) code.

Syntax

[Dynamic, Provider("MSNFS_PROVIDER"), AMENDMENT]
class MSNFS_ClientLock
{
  string Host;
};

Members

The MSNFS_ClientLock class has these types of members:

Methods

The MSNFS_ClientLock class has these methods.

Method Description
ReleaseLocks Releases locks held by the NFS client on the server.

Properties

The MSNFS_ClientLock class has these properties.

Host

Data type: string

Access type: Read-only

Qualifiers: Key

Indicates the name of the client that hold locks on the NFS server.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2008 R2
End of client support
None supported
End of server support
Windows Server 2008 R2
Namespace
Root\MSNFS
MOF
Nfswmi.mof
DLL
NfsCimProv.dll