Alert.EventSource Property

Gets the event source text from the application event log.

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

Syntax

'Declaration
<SfcPropertyAttribute> _
Public ReadOnly Property EventSource As String
    Get
'Usage
Dim instance As Alert
Dim value As String

value = instance.EventSource
[SfcPropertyAttribute]
public string EventSource { get; }
[SfcPropertyAttribute]
public:
property String^ EventSource {
    String^ get ();
}
[<SfcPropertyAttribute>]
member EventSource : string
function get EventSource () : String

Property Value

Type: System.String
A String value that contains the event source.