AgentProfile.Type Property

Definition

Specifies whether the replication agent profile is pre-defined by replication or created by a user.

public:
 property Microsoft::SqlServer::Replication::AgentProfileTypeOption Type { Microsoft::SqlServer::Replication::AgentProfileTypeOption get(); };
public Microsoft.SqlServer.Replication.AgentProfileTypeOption Type { get; }
member this.Type : Microsoft.SqlServer.Replication.AgentProfileTypeOption
Public ReadOnly Property Type As AgentProfileTypeOption

Property Value

AgentProfileTypeOption

An AgentProfileTypeOption object value that specifies the type of agent profile.

Remarks

The Type property is a read-only property that is set by the server when the profile is created.

The Type property can be retrieved only by members of the sysadmin fixed server role at the Distributor or by members of the replmonitor fixed database role.

Retrieving Type is equivalent to executing sp_help_agent_profile (Transact-SQL).

Applies to

See also