TcpProtocol.ListenerIPAddress 属性

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

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property ListenerIPAddress As IPAddress 
    Get 
    Set
用法
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)

属性值

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

示例

实现端点

请参阅

参考

TcpProtocol 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

网络协议和 TDS 端点

CREATE ENDPOINT (Transact-SQL)