Share via


AgentProfile.Default Property

Definition

Specifies whether this profile is the default profile for the given replication agent type.

public:
 property bool Default { bool get(); };
public bool Default { get; }
member this.Default : bool
Public ReadOnly Property Default As Boolean

Property Value

A Boolean value.

Remarks

The Default 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 Default is equivalent to executing sp_help_agent_profile (Transact-SQL).

The Default property is a read-only property.

Applies to

See also