2018-05-11 10:45:43 -07:00

51 lines
1.1 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: ICSPNode SetValue
description: ICSPNode SetValue
ms.assetid: b218636d-fe8b-4a0f-b4e8-a621f65619d3
ms.author: maricia
ms.topic: article
ms.prod: w10
ms.technology: windows
author: MariciaAlforque
ms.date: 06/26/2017
---
# ICSPNode::SetValue
This method sets the value for the configuration service provider node. It is an error to attempt to set the value of an interior node.
## Syntax
``` syntax
HRESULT SetValue([in] VARIANT varValue);
```
## Parameters
<a href="" id="varvalue"></a>*varValue*
<p style="margin-left: 25px">Value to set. To clear a leaf nodes value, set *varValue*s type to `VT_NULL`.</p>
## Return Value
A value of S\_OK indicates that the value was set successfully. CFGMGR\_E\_COMMANDNOTALLOWED indicates that this node does not support the **ICSP::SetValue** method, or that it's an internal node.
## Remarks
For externallytransactioned nodes, no additional methods must be implemented to support rollback.
## Requirements
**Header:** None
## Related topics
[Create a custom configuration service provider](create-a-custom-configuration-service-provider.md)