ServerRole.Events 屬性
Gets the ServerRoleEvents object associated with this Server Role.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public ReadOnly Property Events As ServerRoleEvents
Get
'用途
Dim instance As ServerRole
Dim value As ServerRoleEvents
value = instance.Events
public ServerRoleEvents Events { get; }
public:
property ServerRoleEvents^ Events {
ServerRoleEvents^ get ();
}
member Events : ServerRoleEvents
function get Events () : ServerRoleEvents
屬性值
型別:Microsoft.SqlServer.Management.Smo.ServerRoleEvents
The ServerRoleEvents object associated with this Server Role.