Share via


ResourceGroups.Copy Method

Project Developer Reference

Makes a copy of a group definition for the ResourceGroups collection and returns a reference to the Group object.

Syntax

expression.Copy(Name, NewName)

expression   A variable that represents a ResourceGroups object.

Parameters

Name Required/Optional Data Type Description
Name Required String The name of the group to copy.
NewName Required String The name of the new group.

Return Value
Group

See Also