Właściwość TcpProtocol.ListenerPort
Pobiera lub ustawia adres portu detektor dla protokół TCP.
Przestrzeń nazw: Microsoft.SqlServer.Management.Smo
Zestaw: Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)
Składnia
'Deklaracja
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property ListenerPort As Integer
Get
Set
'Użycie
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)
Wartość właściwości
Typ: System.Int32
Int32 Wartość, która określa adres portu odbiornika.
Zobacz także