다음을 통해 공유


ListenerPort 속성

Gets or sets the port address of the listener for the TCP protocol.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
<SfcPropertyAttribute> _
Public Property ListenerPort As Integer
    Get
    Set
‘사용 방법
Dim instance As TcpProtocol
Dim value As Integer

value = instance.ListenerPort

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

속성 값

형식: System. . :: . .Int32
An Int32 value that specifies the port address of the listener.

예제

끝점 구현