Прочитај на енглеском

Делите путем


AgentProfile.Type Property

Definition

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

C#
public Microsoft.SqlServer.Replication.AgentProfileTypeOption Type { get; }

Property Value

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

Производ Верзије
SQL Server .NET SDK 2016

See also