共用方式為


Schema.Events 屬性

Gets the events that are supported by the schema.

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

語法

'宣告
Public ReadOnly Property Events As SchemaEvents 
    Get
'用途
Dim instance As Schema 
Dim value As SchemaEvents 

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

屬性值

型別:Microsoft.SqlServer.Management.Smo.SchemaEvents
A SchemaEvents object value that specifies the events supported by the schema.

範例

建立、改變和移除結構描述

請參閱

參考

Schema 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

了解資料庫結構描述

CREATE SCHEMA (Transact-SQL)