مشاركة عبر


Schema.Events Property

Gets the events that are supported by the schema.

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

Syntax

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

Property Value

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

Examples

Creating, Altering, and Removing Schemas

See Also

Reference

Schema Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Understanding the Database Schemas

CREATE SCHEMA (Transact-SQL)