共用方式為


Statistic.Events 屬性

Gets the events that are 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.

範例

建立和更新統計資料

請參閱

參考

Statistic 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

CREATE STATISTICS (Transact-SQL)