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
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; }
|
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