Gets and sets an array of
CreateRequestParameter objects that represent the attribute
values that you set on the new resource (see example).
Namespace:
Microsoft.ResourceManagement.Workflow.Activities
Assembly: Microsoft.ResourceManagement (in
microsoft.resourcemanagement.dll)
Usage
Syntax
Visual Basic |
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)> _
Public Property CreateParameters As CreateRequestParameter()
|
C# |
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
public CreateRequestParameter[] CreateParameters { get; set; }
|
Property Value
A
CreateRequestParameter array.
Example
The following example sets the ObjectType,
DisplayName, and AccountName attributes of a new
Person resource that is being created.
C# |
Copy Code |
CreateRequestParameter createrequestparameter1 = new CreateRequestParameter();
Createrequestparameter1.PropertyName = "ObjectType";
Createrequestparameter1.Value = "Person";
CreateRequestParameter createrequestparameter2 = new CreateRequestParameter();
Createrequestparameter2.PropertyName = "DisplayName";
createrequestparameter2.Value = "John Doe";
CreateRequestParameter createrequestparameter3 = new CreateRequestParameter();
Createrequestparameter3.PropertyName = "AccountName";
Createrequestparameter3.Value = "jdoe";
this.createResourceActivity1.CreateParameters = new CreateRequestParameter[] {
createrequestparameter1,
createrequestparameter2,
createrequestparameter3};
|
Remarks
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