An array of the
SortingAttribute class that represents the
names of attributes to sort the enumeration results by.
Namespace:
Microsoft.ResourceManagement.Workflow.Activities
Assembly: Microsoft.ResourceManagement (in
microsoft.resourcemanagement.dll)
Usage
Visual Basic |
Dim instance As EnumerateResourcesActivity
Dim value As SortingAttribute()
value = instance.SortingAttributes
instance.SortingAttributes = value
|
Syntax
Visual Basic |
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)> _
Public Property SortingAttributes As SortingAttribute()
|
C# |
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
public SortingAttribute[] SortingAttributes { get; set; }
|
C++ |
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility::Visible)]
public:
property array<SortingAttribute^>^ SortingAttributes {
array<SortingAttribute^>^ get ();
void set (array<SortingAttribute^>^ value);
}
|
J# |
/** @property */
public SortingAttribute[] get_SortingAttributes ()
/** @property */
public void set_SortingAttributes (SortingAttribute[] value)
|
JScript |
public function get SortingAttributes () : SortingAttribute[]
public function set SortingAttributes (value : SortingAttribute[])
|
Property Value
An array of the
SortingAttribute class.
Example
The following example uses the SortingAttributes
property to return query results that are sorted by the
“DisplayName” attribute.
C# |
Copy Code |
this.enumerateResourcesActivity1.SortingAttributes =
new Microsoft.ResourceManagement.WebServices.WSEnumeration.SortingAttribute[]
{
new Microsoft.ResourceManagement.WebServices.WSEnumeration.SortingAttribute("DisplayName")
};
|
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