共用方式為


ApplicationRole.Events 屬性

Gets the events that are supported by the application role.

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

語法

'宣告
Public ReadOnly Property Events As ApplicationRoleEvents 
    Get
'用途
Dim instance As ApplicationRole 
Dim value As ApplicationRoleEvents 

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

屬性值

型別:Microsoft.SqlServer.Management.Smo.ApplicationRoleEvents
An ApplicationRoleEvents object value that specifies the events supported by the application role.

範例

處理 SMO 事件

請參閱

參考

ApplicationRole 類別

Microsoft.SqlServer.Management.Smo 命名空間