次の方法で共有


CreateShare method of the MSNFS_Export class

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

Creates an NFS share to be exported by the Server for NFS service.

Syntax

uint32 CreateShare(
  [in] MSNFS_Export        ExportInfo,
  [in] MSNFS_ExportFencing ClientPermInfo[]
);

Parameters

ExportInfo [in]

An MSNFS_Export class instance containing configuration information for the export operation.

ClientPermInfo [in]

An MSNFS_ExportFencing class instance containing the corresponding export fencing information specified by the ExportInfo parameter, that is used for the export operation.

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
Header
Shobjidl_core.h
MOF
Nfswmi.mof
DLL
NfsCimProv.dll

See also

MSNFS_Export