Dela via


HttpProtocol.SslPort Property

Gets or sets the port address number for the Secure Sockets Layer (SSL) port.

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

Syntax

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

value = instance.SslPort

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

Property Value

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

Remarks

If the SslPort property value is not specified then the value 443 is assumed.