Share via


EventSource 属性

Gets the event source text from the application event log.

命名空间:  Microsoft.SqlServer.Management.Smo.Agent
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute> _
Public ReadOnly Property EventSource As String
    Get
用法
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

属性值

类型:System. . :: . .String
A String value that contains the event source.