次の方法で共有


EventSource プロパティ

アプリケーション イベント ログからイベント ソース テキストを取得します。

名前空間:  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
イベント ソースを含む String 値です。