次の方法で共有


MSFT_NfsNlmClientLock class

Represents an NLM lock that is held by a client on the Windows NFS server.

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

Syntax

[ClassVersion("1.0"), dynamic, provider("nfscimprov"), AMENDMENT]
class MSFT_NfsNlmClientLock : MSFT_NfsClientLock
{
  uint32 LockType;
  string LockedFile;
  string ClientComputer;
};

Members

The MSFT_NfsNlmClientLock class has these types of members:

Properties

The MSFT_NfsNlmClientLock class has these properties.

ClientComputer

Data type: string

Access type: Read-only

Qualifiers: key

The name of the client computer that hold the lock.

LockedFile

Data type: string

Access type: Read-only

The local path to the locked file on the Windows NFS server.

LockType

Data type: uint32

Access type: Read-only

The type of lock. There are two lock types:

  • NLM locks, for shares accessed over NFS version 2 or version 3 with NLM
  • NFS locks, for shares accessed over NFS version 4.1

This property is inherited from MSFT_NfsClientLock.

NLM (1)

NFS (2)

Requirements

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