File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -366,6 +366,8 @@ public static Server CreateTypeInstance()
366366 Alerts = Microsoft . SqlServer . Management . Smo . Agent . AlertCollection . CreateTypeInstance ( )
367367 } ;
368368
369+ server . JobServer . Alerts . Parent = server . JobServer ;
370+
369371 return server ;
370372 }
371373 }
@@ -1574,6 +1576,7 @@ public Microsoft.SqlServer.Management.Smo.Agent.Alert this[System.Int32 index]
15741576 public System . Int32 Count { get { return alerts . Count ; } set { } }
15751577 public System . Boolean IsSynchronized { get ; set ; }
15761578 public System . Object SyncRoot { get ; set ; }
1579+ public Microsoft . SqlServer . Management . Smo . Agent . JobServer Parent { get ; set ; }
15771580
15781581 // Method
15791582 public void Add ( Microsoft . SqlServer . Management . Smo . Agent . Alert alert ) { alerts [ alert . Name ] = alert ; }
You can’t perform that action at this time.
0 commit comments