ResourceGroups2.Add Method (Project)

Adds a Group2 object to a ResourceGroups2 collection.

Syntax

expression. Add( _Name_, _FieldName_ )

expression An expression that returns a 'ResourceGroups2' object.

Parameters

Name Required/Optional Data Type Description
Name Required String The name of a group definition.
FieldName Required String The name of the first field to group by.

Return Value

Group2

See also

ResourceGroups2 Collection Object