IScanProfileMgr::DeleteProfile method

Deletes the specified scan profile.

Syntax


HRESULT DeleteProfile(
  [in]  IScanProfile *pScanProfile
);

Parameters

pScanProfile [in]

Type: IScanProfile*

A pointer to the profile.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

IScanProfileMgr::DeleteProfile deletes the profile from disk and destroys the profile object in memory.

Use the IScanProfileMgr::Refresh method when more than one IScanProfileMgr object might be creating or deleting profiles at the same time.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Scanprofilemgr.h

IDL

Scanprofiles.idl

See also

IScanProfileMgr
Scan Profile Schema

 

 

Community Additions

ADD
Show:
© 2015 Microsoft