Méthode IBackgroundCopyJob5::GetProperty

Méthode générique permettant d’obtenir les propriétés du travail d’optimisation de la distribution.

Syntaxe

HRESULT GetProperty(
  [in]  BITS_JOB_PROPERTY_ID    PropertyId,
  [out] BITS_JOB_PROPERTY_VALUE *pPropertyValue
);

Paramètres

PropertyId [in]

ID de la propriété en cours d’obtention spécifiée sous la forme d’une valeur d’énumération BITS_JOB_PROPERTY_ID .

pPropertyValue [out]

Valeur de propriété retournée en tant qu’union de BITS_JOB_PROPERTY_VALUE.

Valeur retournée

La méthode retourne les valeurs de retour suivantes.

Code de retour Description
S_OK
Succès

Configuration requise

Condition requise Valeur
Client minimal pris en charge
Windows 10, version 1709 [applications de bureau uniquement]
Serveur minimal pris en charge
Windows Server, version 1709 [applications de bureau uniquement]
En-tête
Deliveryoptimization.h
IDL
DeliveryOptimization.idl
Bibliothèque
Dosvc.lib
DLL
Dosvc.dll
IID
IID_IBackgroundCopyJob5 est défini comme E847030C-BBBA-4657-AF6D-484AA42BF1FE

Voir aussi

IBackgroundCopyJob5

IBackgroundCopyJob5::SetProperty