IBackgroundCopyFile5::SetProperty メソッド (bits5_0.h)

BITS ファイル転送のジェネリック プロパティを設定します。

構文

HRESULT SetProperty(
  [in]  BITS_FILE_PROPERTY_ID    PropertyId,
  [out] BITS_FILE_PROPERTY_VALUE PropertyValue
);

パラメーター

[in] PropertyId

設定するプロパティを指定します。

[out] PropertyValue

設定する値を指定する共用体へのポインター。 プロパティ ID に適した共用体メンバーが使用されます。

戻り値

このメソッドは、成功すると S_OK を返します。 そうでない場合は、HRESULT エラー コードを返します。

要件

要件
サポートされている最小のクライアント Windows 8
サポートされている最小のサーバー Windows Server 2012
対象プラットフォーム Windows
ヘッダー bits5_0.h (Bits.h を含む)
Library Bits.lib

こちらもご覧ください

IBackgroundCopyFile5

IBackgroundCopyFile5.GetProperty