Partager via


StopNfsServerService method of the MSFT_NfsServerTasks class

Stops the NFS server service.

This method supersedes the legacy MSNFS_Server.StopService method.

Syntax

uint32 StopNfsServerService();

Parameters

This method has no parameters.

Requirements

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

See also

MSFT_NfsServerConfig

MSFT_NfsServerTasks