Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
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 |
|---|---|
|
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 |