StoredProcedure.Events Property

Gets the events associated with the stored procedure.

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

Syntax

'Declaration
Public ReadOnly Property Events As StoredProcedureEvents 
    Get
'Usage
Dim instance As StoredProcedure 
Dim value As StoredProcedureEvents 

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

Property Value

Type: Microsoft.SqlServer.Management.Smo.StoredProcedureEvents
A StoredProcedureEvents object that represents the stored procedure events.

Examples

Creating, Altering, and Removing Stored Procedures

See Also

Reference

StoredProcedure Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

CREATE PROCEDURE (Transact-SQL)