ServerIPAddress.IPAddress Property

Gets the IP address associated with the server.

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

Syntax

'Declaration
Public ReadOnly Property IPAddress As IPAddress 
    Get
'Usage
Dim instance As ServerIPAddress 
Dim value As IPAddress 

value = instance.IPAddress
public IPAddress IPAddress { get; }
public:
property IPAddress^ IPAddress {
    IPAddress^ get ();
}
member IPAddress : IPAddress
function get IPAddress () : IPAddress

Property Value

Type: System.Net.IPAddress
An IPAddress system object value that specifies the IP address of the server.

Examples

Managing Services and Network Settings by Using WMI Provider

See Also

Reference

ServerIPAddress Class

Microsoft.SqlServer.Management.Smo.Wmi Namespace

Other Resources

WMI and SQL Server

Connecting to the SQL Server Database Engine