TechNet
Export (0) Print
Expand All

ListIPAddresses Method (WMI MSReportServer_ConfigurationSetting)

 

Applies To: SQL Server 2016

Lists the IP addresses for the report server computer.

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

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

IPVersion[]
[out] The version for the IP addresses.

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

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

HRESULT
[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**

MSReportServer_ConfigurationSetting Members

Community Additions

ADD
Show:
© 2016 Microsoft