Initializes a new instance of PropertyDataUpdateItem for the specified result object and action. Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

Visual Basic
Dim resultItem As Object
Dim action As PropertyDataUpdateAction

Dim instance As New PropertyDataUpdateItem(resultItem, action)

Syntax

Visual Basic
Public Sub New ( _
		resultItem As Object, _
		action As PropertyDataUpdateAction _
)
C#
public PropertyDataUpdateItem (
		Object resultItem,
		PropertyDataUpdateAction action
)
C++
public:
PropertyDataUpdateItem (
		Object^ resultItem, 
		PropertyDataUpdateAction action
)
J#
public PropertyDataUpdateItem (
		Object resultItem, 
		PropertyDataUpdateAction action
)
JScript
public function PropertyDataUpdateItem (
		resultItem : Object, 
		action : PropertyDataUpdateAction
)

Parameters

resultItem

[in] System.Object instance that represents the result object. See RefreshObject.

action

[in] The action. See Action.

Exceptions

Exception type Condition
ArgumentNullException

The resultItem parameter cannot be null.

ArgumentException

The RefreshAll action cannot be used with an object.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also