PropertyDataUpdateItem Constructor (Object, PropertyDataUpdateAction)
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
'Usage
Dim resultItem As Object
Dim action As PropertyDataUpdateAction
Dim instance As New PropertyDataUpdateItem(resultItem, action)
Syntax
'Declaration
Public Sub New ( _
resultItem As Object, _
action As PropertyDataUpdateAction _
)
public PropertyDataUpdateItem (
Object resultItem,
PropertyDataUpdateAction action
)
public:
PropertyDataUpdateItem (
Object^ resultItem,
PropertyDataUpdateAction action
)
public PropertyDataUpdateItem (
Object resultItem,
PropertyDataUpdateAction action
)
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
Reference
PropertyDataUpdateItem Class
PropertyDataUpdateItem Members
Microsoft.ConfigurationManagement.AdminConsole Namespace
Action
RefreshObject