Share via


HttpProtocol.HttpPortTypes Property

Gets or sets the HTTP port type.

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

Syntax

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

value = instance.HttpPortTypes

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

Property Value

Type: Microsoft.SqlServer.Management.Smo.HttpPortTypes
An HttpPortTypes object value that specifies the HTTP port type.