共用方式為


StoredProcedure.Events 屬性

Gets the events associated with the stored procedure.

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

語法

'宣告
Public ReadOnly Property Events As StoredProcedureEvents 
    Get
'用途
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

屬性值

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

範例

建立、改變和移除預存程序

請參閱

參考

StoredProcedure 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

CREATE PROCEDURE (Transact-SQL)