Export (0) Print
Expand All

AlertCollection.Item Property (String)

Gets an Alert object in the collection by name.

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public Alert this[
	string name
] { get; }


Type: String
A String value that specifies the name of the Alert object in the AlertCollection collection.

Property Value

Type: Microsoft.SqlServer.Management.Smo.Agent.Alert
An Alert object value that represents the alert.

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Community Additions

© 2014 Microsoft