IBackgroundCopyGroup::SetProp method (qmgr.h)

[IBackgroundCopyGroup is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. Instead, use the BITS interfaces.]

Use the SetProp method to set the property value for a group property.

Syntax

HRESULT SetProp(
  [in] GROUPPROP propID,
  [in] VARIANT   *pvarVal
);

Parameters

[in] propID

Identifies the property to set. For a list of properties, see the GROUPPROP enumeration.

[in] pvarVal

Property value.

Return value

This method returns the following HRESULT values, as well as others.

Return code Description
S_OK
Successfully set the property.
E_NOTIMPL
You specified a property that is not supported.
E_INVALIDARG
You specified a variant type that is not compatible with the property.

Requirements

Requirement Value
Minimum supported client Windows XP
Minimum supported server Windows Server 2003
Target Platform Windows
Header qmgr.h
DLL QmgrPrxy.dll

See also

IBackgroundCopyGroup