コード例 #1
0
 /// <summary>
 /// Create a new ReportTarget object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="computerId">Initial value of the ComputerId property.</param>
 /// <param name="reportId">Initial value of the ReportId property.</param>
 public static ReportTarget CreateReportTarget(global::System.Int64 id, global::System.Int64 computerId, global::System.Guid reportId)
 {
     ReportTarget reportTarget = new ReportTarget();
     reportTarget.Id = id;
     reportTarget.ComputerId = computerId;
     reportTarget.ReportId = reportId;
     return reportTarget;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ReportTargets EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToReportTargets(ReportTarget reportTarget)
 {
     base.AddObject("ReportTargets", reportTarget);
 }