Repository.Crew.AddCrew

Saves a new cCrew object to the Synthesis repository. Returns a Boolean value; when true, indicates that the crew now exists in the repository.

Syntax
object.Crew.AddCrew(crew)

where object is a variable that represents a Repository object.

Example
VBA MyRepository Repository NewCrew cCrew NewCrew.Name = MyRepository.Project.SetCurrentProject(1) MyRepository.Crew.AddCrew(NewCrew)

VB.NET MyRepository Repository NewCrew cCrew MyRepository.Project.SetCurrentProject(1) MyRepository.Crew.AddCrew(NewCrew)