DeploySettingsExtensions.

UsePort(DeploySettings, int) Method

Summary

Sets the remote port to connect on.
Assembly
Cake.WebDeploy.dll
Namespace
Cake.WebDeploy
Containing Type
DeploySettingsExtensions

Syntax

public static DeploySettings UsePort(this DeploySettings settings, int port)

Parameters

Name Type Description
settings DeploySettings The publish settings.
port int The remote port to connect on

Return Value

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