MSFT_NfsSession class

Represents a session on a Windows NFS server.

This class is typically used by the sessions infrastructure that is part of the Windows NFS version 4.1 server.

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

Syntax

[ClassVersion("1.0"), dynamic, provider("nfscimprov"), AMENDMENT]
class MSFT_NfsSession
{
  string SessionId;
  string NetworkName;
  uint32 State;
  uint64 ClientId;
  uint32 AllocatedSlot;
  uint32 MaximumUsableSlot;
  uint32 PreferredSlot;
};

Members

The MSFT_NfsSession class has these types of members:

Methods

The MSFT_NfsSession class has these methods.

Method Description
RevokeSession Revokes a session established by a client computer on the Windows NFS version 4.1 server.

Properties

The MSFT_NfsSession class has these properties.

AllocatedSlot

Data type: uint32

Access type: Read-only

The maximum number of slots that the Windows NFS server has allocated for the session

ClientId

Data type: uint64

Access type: Read-only

The client identifier for the client that has established this session to the Windows NFS version 4.1 server.

MaximumUsableSlot

Data type: uint32

Access type: Read-only

The maximum number of slots that the client can use in this session.

NetworkName

Data type: string

Access type: Read-only

Qualifiers: key

The network name used by the client to establish the session on the Windows NFS server.

PreferredSlot

Data type: uint32

Access type: Read-only

The number of slots that the server prefers that the client use in this session.

SessionId

Data type: string

Access type: Read-only

Qualifiers: key

The unique identifier for the session.

State

Data type: uint32

Access type: Read-only

The state of the session established on the Windows NFS v4.1 server. One of the following values:

0

Session Created

1

Session Active

2

Session Expired

3

Session Destroyed

Requirements

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