Statistic.Events Property

Gets the events that are associated with the database.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public ReadOnly Property Events As StatisticEvents 
    Get
'Usage
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

Property Value

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

Examples

Creating and Updating Statistics

See Also

Reference

Statistic Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

CREATE STATISTICS (Transact-SQL)