Export (0) Print
Expand All

ListIPAddresses Method (WMI MSReportServer_ConfigurationSetting)

Topic Status: Some information in this topic is preview and subject to change in future releases. Preview information describes new features or changes to existing features in Microsoft SQL Server 2016 Community Technology Preview 2 (CTP2).

Lists the IP addresses for the report server computer.

Public Sub ListIPAddresses (ByRef IPAddress() as String, _
    ByRef IPVersion()as String, ByRef IsDhcpEnabled () as Boolean, _ 
    ByRef Length as Int32, ByRef HRESULT as Int32)

public void ListIPAddresses (out string[] IPAddress, 
    out string[] IPVersion, out bool[] isDhcpEnabled, out int length, 
    out int HRESULT);


[out] The list of IP address for the computer.


[out] The version for the IP addresses.


[out] Indicates whether the IP addresses are DHCP enabled.


[out] The length of the array returned by the method.


[out] Value indicating whether the call succeeded or failed.

Returns an HRESULT indicating success or failure of the method call. A value of 0 indicates that the method call was successful; an error code indicates the call was not successful.

IPVersion strings are V4, V6.

If IsDhcpEnabled is True, the IPAddress is dynamic. It should not be used for SSL bindings.

Namespace: root\Microsoft\SqlServer\ReportServer\<InstanceName>\v13\Admin

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft