HttpProtocol.ClearPort Property

Gets or sets the port address number for the clear port.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property ClearPort As Integer
    Get
    Set
'Usage
Dim instance As HttpProtocol
Dim value As Integer

value = instance.ClearPort

instance.ClearPort = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public int ClearPort { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property int ClearPort {
    int get ();
    void set (int value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member ClearPort : int with get, set
function get ClearPort () : int
function set ClearPort (value : int)

Property Value

Type: System.Int32
An Int32 value that specifies the clear port address number.

Remarks

If the ClearPort property value is not specified then the value 80 is assumed.