IMbnConnectionProfile::Delete method (mbnapi.h)
Important
Starting in Windows 10, version 1803, the Win32 APIs described in this section are replaced by the Windows Runtime APIs in the Windows.Networking.Connectivity namespace.
Deletes the profile from the system.
Syntax
HRESULT Delete();
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
The method completed successfully. |
|
The profile is invalid and likely has been removed from the system. |
|
The profile is invalid and has likely been removed from the system. |
|
The Mobile Broadband service is not running on this system. |
Remarks
This is an asynchronous operation. The Mobile Broadband service will notify the calling application by calling the OnConnectionProfileRemoval method of the IMbnConnectionProfileManagerEvents interface.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | mbnapi.h |