Share via


Méthode IBackgroundCopyJob5 ::GetProperty (bits5_0.h)

Méthode générique pour obtenir des propriétés de travail BITS.

Syntaxe

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

Paramètres

[in] PropertyId

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 .

[out] PropertyValue

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 8
Serveur minimal pris en charge Windows Server 2012
Plateforme cible Windows
En-tête bits5_0.h (inclure Bits.h)
Bibliothèque Bits.lib

Voir aussi

IBackgroundCopyJob5

IBackgroundCopyJob5 ::SetProperty