TcpProtocol.ListenerPort 속성
Gets or sets the port address of the listener for the TCP protocol.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property ListenerPort As Integer
Get
Set
‘사용 방법
Dim instance As TcpProtocol
Dim value As Integer
value = instance.ListenerPort
instance.ListenerPort = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public int ListenerPort { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property int ListenerPort {
int get ();
void set (int value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
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.
예
참고 항목
참조
Microsoft.SqlServer.Management.Smo 네임스페이스