Share via


AgentObjectBase Class

The AgentObjectBase class is a base class that is inherited by all the SQL Server Agent classes and contains common members.

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

Syntax

'Declaration
Public Class AgentObjectBase _
    Inherits NamedSmoObject
'Usage
Dim instance As AgentObjectBase
public class AgentObjectBase : NamedSmoObject
public ref class AgentObjectBase : public NamedSmoObject
type AgentObjectBase =  
    class
        inherit NamedSmoObject
    end
public class AgentObjectBase extends NamedSmoObject

Remarks

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Smo.SmoObjectBase
    Microsoft.SqlServer.Management.Smo.SqlSmoObject
      Microsoft.SqlServer.Management.Smo.NamedSmoObject
        Microsoft.SqlServer.Management.Smo.Agent.AgentObjectBase
          Microsoft.SqlServer.Management.Smo.Agent.Alert
          Microsoft.SqlServer.Management.Smo.Agent.AlertSystem
          Microsoft.SqlServer.Management.Smo.Agent.CategoryBase
          Microsoft.SqlServer.Management.Smo.Agent.Job
          Microsoft.SqlServer.Management.Smo.Agent.JobStep
          Microsoft.SqlServer.Management.Smo.Agent.Operator
          Microsoft.SqlServer.Management.Smo.Agent.ProxyAccount
          Microsoft.SqlServer.Management.Smo.Agent.ScheduleBase
          Microsoft.SqlServer.Management.Smo.Agent.TargetServer
          Microsoft.SqlServer.Management.Smo.Agent.TargetServerGroup

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.