共用方式為


Events 屬性

Gets the events associated with the database.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public ReadOnly Property Events As StatisticEvents
    Get
'用途
Dim instance As Statistic
Dim value As StatisticEvents

value = instance.Events
public StatisticEvents Events { get; }
public:
property StatisticEvents^ Events {
    StatisticEvents^ get ();
}
member Events : StatisticEvents
function get Events () : StatisticEvents

屬性值

型別:Microsoft.SqlServer.Management.Smo. . :: . .StatisticEvents
A StatisticEvents object that represents the statistic counter events.