Share via


SetClientGroup method of the MSFT_NfsServerTasks class

Adds or removes client group members.

Syntax

uint32 SetClientGroup(
  [in] string ClientGroupName,
  [in] string AddMember[],
  [in] string RemoveMember[]
);

Parameters

ClientGroupName [in]

Type: string

The name of the client group.

AddMember [in]

Type: string[]

An array of strings containing names of members to be added to the client group.

RemoveMember [in]

Type: string[]

An array of strings containing names of members to be removed from the client group.

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_NfsClientgroup

MSFT_NfsServerTasks