共用方式為


ViewEvent.CreateSpatialIndex 屬性

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 CreateSpatialIndex As ViewEvent 
    Get
'用途
Dim value As ViewEvent 

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

屬性值

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

備註

A CreateSpatialIndex event object that represents the CreateSpatialIndex event that can be included in the view event set

範例

處理 SMO 事件

請參閱

參考

ViewEvent 類別

Microsoft.SqlServer.Management.Smo 命名空間