ServerEventArgs.SqlInstance 属性

定义

获取发生事件的 SQL Server 的实例。

public:
 property System::String ^ SqlInstance { System::String ^ get(); };
public string SqlInstance { get; }
member this.SqlInstance : string
Public ReadOnly Property SqlInstance As String

属性值

String

一个 String 值,该值指定发生事件 SQL Server 实例的名称。

示例

处理 SMO 事件

适用于