|
DeleteProfile2 |
Top Previous Next |
|
The DeleteProfile2 method deletes an existing profile. HRESULT DeleteProfile2( [in] BSTR p_wsProfileName, [in] BOOL p_bPublicProfile );
Parameters: p_wsProfileName [in] pointer to a BSTR containing the name of the profile to delete. p_bPublicProfile [in] Flag if the profile is a public or a private profile.
Return values: S_OK on success or COM error code NV_NOT_INITIALIZED - Initialize was not called NV_UNKNOWN_PROFILE - profile specified by p_wsProfileName does not exist NV_ACTIVE_PROFILE - can not delete active profile NV_PUBLIC_PROFILE - you cannot change public profiles only on server
|