DeleteProfile Method (Profile Manager Control)
Windows - Visual C++
Description
The DeleteProfile method deletes an
existing profile from a NewsEdge Server.
Syntax
long result = DeleteProfile(LPCTSTR profCode);
The DeleteProfile syntax has these parts:
|
Part |
Description |
|
profCode |
A string containing the 2 character code identifying an existing profile. |
|
result |
A long integer containing 0 if the operation succeeded, or an error code if the operation did not succeed. |
Remarks
The GetProfileCode
and GetProfileCount
methods are used to determine the list of existing profiles.
See Also: AddProfile ModifyProfile
Back to: Profile Manager Methods