共用方式為


ClearPort 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property ClearPort As Integer
    Get
    Set
'用途
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)

屬性值

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

備註

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

範例

實作端點