共用方式為


ViewEvent.CreateStatistics 屬性

Gets a view event that can be included in the event set.

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

語法

'宣告
Public Shared ReadOnly Property CreateStatistics As ViewEvent 
    Get
'用途
Dim value As ViewEvent 

value = ViewEvent.CreateStatistics
public static ViewEvent CreateStatistics { get; }
public:
static property ViewEvent^ CreateStatistics {
    ViewEvent^ get ();
}
static member CreateStatistics : ViewEvent
static function get CreateStatistics () : ViewEvent

屬性值

型別:Microsoft.SqlServer.Management.Smo.ViewEvent
A ViewEvent object that represents the CreateStatistics event that can be included in the view event set.

範例

處理 SMO 事件

請參閱

參考

ViewEvent 類別

Microsoft.SqlServer.Management.Smo 命名空間