Share via


MSNFS_ExportFencing class

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

Represents export fencing for shares exported by the Server for NFS service. This class is not available on client operating systems such as Windows 7.

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

Syntax

[Dynamic, Provider("MSNFS_PROVIDER"), AMENDMENT]
class MSNFS_ExportFencing
{
  boolean AllowRootAccess;
  string  ClientName;
  uint32  ClientType;
  uint32  LanguageEncoding;
  string  PathName;
  uint32  Permission;
};

Members

The MSNFS_ExportFencing class has these types of members:

Properties

The MSNFS_ExportFencing class has these properties.

AllowRootAccess

Data type: boolean

Access type: Read-only

If this property is set to TRUE, the NFS share has been configured to allow access by the UNIX 'root' user.

ClientName

Data type: string

Access type: Read-only

Qualifiers: key

Indicates the hostname or IP address of the client, name of the client group, or name of the netgroup for which this export fencing has been configured. Export fencing can be configured for individual client computers, client groups, or net groups. The value of the ClientType property specifies the type of client for which this export fencing has been configured.

ClientType

Data type: uint32

Access type: Read-only

Indicates the type of client for which this export fencing has been configured. Export fencing can be configured for individual client computers, client groups, or net groups. Possible values of this property are:

host (1)

client group (2)

netgroup (3)

LanguageEncoding

Data type: uint32

Access type: Read-only

Indicates the type of language encoding configured for the NFS share. Possible values of this property are:

eCodeModeEucJapan (0)

eCodeModeEucKorean (1)

eCodeModeEucCNS (2)

eCodeModeJapan (3)

eCodeModeKorean (4)

eCodeModeBig5 (5)

eCodeModeChineseGB (6)

eCodeModeNoEncoding (7)

PathName

Data type: string

Access type: Read-only

Qualifiers: key

Indicates the local path to the NFS share on the server. This must be a full path with an assigned drive letter. UNC paths, device paths, and VMPs are not supported by this property.

Permission

Data type: uint32

Access type: Read-only

Indicates the access permissions configured for the exported share on the NFS server. Possible values of this property are:

no access (1)

readonly (2)

Read Only

readwrite (4)

Read/Write

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