AgentProfile 생성자 (String, ServerConnection)

Initializes a new instance of the AgentProfile class with the specified profile name and server connection.

네임스페이스:  Microsoft.SqlServer.Replication
어셈블리:  Microsoft.SqlServer.Rmo(Microsoft.SqlServer.Rmo.dll)

public AgentProfile(
	string name,
	ServerConnection connectionContext

매개 변수

유형: System.String
A String value that specifies the name of an agent profile.
유형: Microsoft.SqlServer.Management.Common.ServerConnection
A ServerConnection object that specifies a connection to an instance of SQL Server that is a Distributor.