Share via


TcpProtocol.ListenerIPAddress-Eigenschaft

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property ListenerIPAddress As IPAddress 
    Get 
    Set
'Usage
Dim instance As TcpProtocol 
Dim value As IPAddress 

value = instance.ListenerIPAddress

instance.ListenerIPAddress = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public IPAddress ListenerIPAddress { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property IPAddress^ ListenerIPAddress {
    IPAddress^ get ();
    void set (IPAddress^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member ListenerIPAddress : IPAddress with get, set
function get ListenerIPAddress () : IPAddress 
function set ListenerIPAddress (value : IPAddress)

Eigenschaftswert

Typ: System.Net.IPAddress
An IPAddress system object value that specifies the IP address of the listener.

Beispiele

Implementieren von Endpunkten

Siehe auch

Verweis

TcpProtocol Klasse

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

Netzwerkprotokolle und TDS-Endpunkte

CREATE ENDPOINT (Transact-SQL)