TwclWiFiProfilesManager.DeleteProfile(TGUID,string) Method

The method deletes a wireless profile for a wireless interface on the local computer.

Namespace: wclWiFi
public
 function DeleteProfile(const IfaceId: TGUID;
 const ProfileName: string): Integer;

Parameters

IfaceId
Type: TGUID

The ID of the interface from which to delete the profile.

ProfileName
Type: string

The name of the profile to be deleted.

Return Value

Type: Integer

If the function succeeds, the return value is wclErrors.WCL_E_SUCCESS. If the function fails, the return value may be one of the WCL return codes.