/// <summary> /// Create a new AdGroup object. /// </summary> /// <param name="aDGroupID">Initial value of the ADGroupID property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="regionID">Initial value of the RegionID property.</param> /// <param name="members">Initial value of the Members property.</param> public static AdGroup CreateAdGroup(global::System.Int32 aDGroupID, global::System.String name, global::System.Int32 regionID, global::System.String members) { AdGroup adGroup = new AdGroup(); adGroup.ADGroupID = aDGroupID; adGroup.Name = name; adGroup.RegionID = regionID; adGroup.Members = members; return adGroup; }
/// <summary> /// Deprecated Method for adding a new object to the AdGroups EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAdGroups(AdGroup adGroup) { base.AddObject("AdGroups", adGroup); }