Condividi tramite


Proprietà EventSource

Gets the event source text from the application event log.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property EventSource As String
    Get
'Utilizzo
Dim instance As Alert
Dim value As String

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

Valore proprietà

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