共用方式為


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> _
Public Property ListenerIPAddress As IPAddress
    Get
    Set
'用途
Dim instance As TcpProtocol
Dim value As IPAddress

value = instance.ListenerIPAddress

instance.ListenerIPAddress = value
[SfcPropertyAttribute]
public IPAddress ListenerIPAddress { get; set; }
[SfcPropertyAttribute]
public:
property IPAddress^ ListenerIPAddress {
    IPAddress^ get ();
    void set (IPAddress^ value);
}
[<SfcPropertyAttribute>]
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.

範例

實作端點