Schema.Events Property

 

Applies To: SQL Server 2016 Preview

Gets the events that are supported by the schema.

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

Syntax

public SchemaEvents Events { get; }
public:
property SchemaEvents^ Events {
    SchemaEvents^ get();
}
member Events : SchemaEvents with get
Public ReadOnly Property Events As SchemaEvents

Property Value

Type: Microsoft.SqlServer.Management.Smo.SchemaEvents

A SchemaEvents object value that specifies the events supported by the schema.

Examples

Legacy Code Example

Creating, Altering, and Removing Schemas

See Also

Schema Class
Microsoft.SqlServer.Management.Smo Namespace
Understanding the Database Schemas
CREATE SCHEMA (Transact-SQL)

Return to top