Click here for NewsObjects Overview
ModifyProfile Method (Profile Manager Control)
Windows - Visual C++


Description
The ModifyProfile method modifies the long name and criteria of an existing profile on a NewsEdge Server.

Syntax
long result = ModifyProfile(LPCTSTR profCode, LPCTSTR profName, LPCTSTR profCriteria);

The ModifyProfile syntax has these parts:

Part

Description

profCode

A string containing the 2 character code identifying an existing profile.

profName

A string containing the new long name for the profile. The profile long name is limited to 32 characters.

profCriteria

A string containing the new criteria for the profile.

result

A long integer containing 0, if the operation succeeded, or an error code, otherwise.

Remarks
The GetProfileCode and GetProfileCount methods are used to determine the list of existing profiles.

The profile criteria specified by profCriteria must be in reverse polish notation.

See Also: AddProfile DeleteProfile

Back to: Profile Manager Methods