Поделиться через


Свойство EventSource

Gets the event source text from the application event log.

Пространство имен:  Microsoft.SqlServer.Management.Smo.Agent
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property EventSource As String
    Get
'Применение
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

Значение свойства

Тип: System. . :: . .String
A String value that contains the event source.