Microsoft Internet Security and Acceleration Server 2004 SDK

IFPCUserSets::Add[C++]

FPCUserSets.Add [Visual Basic]

[C++]

The Add method creates a new FPCUserSet object in the collection and returns a reference to it. The Save method must be called for the new FPCUserSet object to be saved in persistent storage.

HRESULT Add(
  BSTR Name,
  IFPCUserSet** ppNewSet
);

Parameters

Name
[in] Required. BSTR that specifies the name of the new user set.
ppNewSet
Address of an interface pointer that on return points to the new IFPCUserSet interface created.

Return Values

This method can return one of the following:

[Visual Basic]

The Add method creates a new FPCUserSet object in the collection and returns a reference to it. The Save method must be called for the new FPCUserSet object to be saved in persistent storage.

Function Add( _
  ByVal Name As String _
) As FPCUserSet

Parameters

Name
[in] Required. String that specifies the name of the new user set.

Return Values

This method returns a reference to the new FPCUserSet object if successful. Otherwise, an error is raised that can be intercepted by using an error handler.

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Msfpccom.idl.
Library: Use Microsoft Internet Security and Acceleration Server 2004 Administration Library.

See Also

FPCUserSets