Gets and sets an array of Microsoft.ResourceManagement.WebServices.WSResourceManagement.UpdateRequestParameter objects that represent the delta updates that the activity will apply to the target resource.
Namespace: Microsoft.ResourceManagement.Workflow.Activities
Assembly: Microsoft.ResourceManagement (in microsoft.resourcemanagement.dll)

Usage

Visual Basic
Dim instance As UpdateResourceActivity
Dim value As UpdateRequestParameter()

value = instance.UpdateParameters

instance.UpdateParameters = value

Syntax

Visual Basic
<CategoryAttribute("Parameters")> _
<BrowsableAttribute(True)> _
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)> _
Public Property UpdateParameters As UpdateRequestParameter()
C#
[CategoryAttribute("Parameters")] 
[BrowsableAttribute(true)] 
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)] 
public UpdateRequestParameter[] UpdateParameters { get; set; }
C++
[CategoryAttribute(L"Parameters")] 
[BrowsableAttribute(true)] 
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility::Visible)] 
public:
property array<UpdateRequestParameter^>^ UpdateParameters {
		array<UpdateRequestParameter^>^ get ();
		void set (array<UpdateRequestParameter^>^ value);
}
J#
/** @property */
public UpdateRequestParameter[] get_UpdateParameters ()

/** @property */
public void set_UpdateParameters (UpdateRequestParameter[] value)
JScript
public function get UpdateParameters () : UpdateRequestParameter[]

public function set UpdateParameters (value : UpdateRequestParameter[])

Property Value

An array of UpdateRequestParameter objects.

Example

The following example adds six months to the current time and uses this value for the ExpirationTime attribute of the target.

C#  Copy Code
this.updateResourceActivity1.ResourceId = new System.Guid("12345678-1234-1234-1234-123456789012");
UpdateRequestParameter updateRequestParameter1 = new UpdateRequestParameter();
updateRequestParameter1.PropertyName = "ExpirationTime";
updateRequestparameter1.Value = DateTime.Now.AddMonths(6);
updateRequestParamter1.Mode = UpdateMode.Modify;

this.updateResourceActivity1.UpdateParameters = new UpdateRequestParameter[]
{
	updateRequestParameter1
};

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

Windows 2008 x64 Edition

Change History

See Also