共用方式為


SqlAssembly.Events 屬性

Gets the events associated with the referenced assembly.

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

語法

'宣告
Public ReadOnly Property Events As SqlAssemblyEvents 
    Get
'用途
Dim instance As SqlAssembly 
Dim value As SqlAssemblyEvents 

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

屬性值

型別:Microsoft.SqlServer.Management.Smo.SqlAssemblyEvents
A SqlAssemblyEvents object that specifies the events associated with the referenced assembly.

範例

設定屬性

請參閱

參考

SqlAssembly 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

CREATE ASSEMBLY (Transact-SQL)