DeploySettingsExtensions.

UseAgentType(DeploySettings, RemoteAgent) Method

Summary

Sets the type of remote agent to connect to
Assembly
Cake.WebDeploy.dll
Namespace
Cake.WebDeploy
Containing Type
DeploySettingsExtensions

Syntax

public static DeploySettings UseAgentType(this DeploySettings settings, RemoteAgent agentType)

Parameters

Name Type Description
settings DeploySettings The publish settings.
agentType RemoteAgent The type of remote agent

Return Value

Type Description
DeploySettings The same DeploySettings instance so that multiple calls can be chained.