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
'Usage
Dim instance As AgentProfile
public sealed class AgentProfile : ReplicationObject
public ref class AgentProfile sealed : public ReplicationObject
[<SealedAttribute>]
type AgentProfile =  
    class
        inherit ReplicationObject
    end
public final class AgentProfile extends ReplicationObject

Remarks

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

Thread Safety

Public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Inheritance Hierarchy

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

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.