Propriedade ListenerPort
Gets or sets the port address of the listener for the TCP protocol.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
<SfcPropertyAttribute> _
Public Property ListenerPort As Integer
Get
Set
'Uso
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)
Valor da propriedade
Tipo: System. . :: . .Int32
An Int32 value that specifies the port address of the listener.
Consulte também