Partilhar via


AgentProfile Class

Encapsulates all operations on replication agent profiles, such as creating, deleting, adding, and removing parameters, and assigning specific profiles to certain agents.

Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (in microsoft.sqlserver.rmo.dll)

Syntax

'Declaration
Public NotInheritable Class AgentProfile
    Inherits ReplicationObject
public sealed class AgentProfile : ReplicationObject
public ref class AgentProfile sealed : public ReplicationObject
public final class AgentProfile extends ReplicationObject
public final class AgentProfile extends ReplicationObject

Remarks

This namespace, class, or member is supported only in the Microsoft .NET Framework version 2.0.

Inheritance Hierarchy

System.Object
   Microsoft.SqlServer.Replication.ReplicationObject
    Microsoft.SqlServer.Replication.AgentProfile

Thread Safety

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

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

AgentProfile Members
Microsoft.SqlServer.Replication Namespace

Other Resources

How to: Work with Replication Agent Profiles (RMO Programming)