Share via


ResourceGroups.Add Method (Project)

Adds a Group object to a ResourceGroups collection.

Syntax

expression .Add(Name, FieldName)

expression A variable that represents a ResourceGroups 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

Group