Partilhar via


ServerPort Property (WMI)

Returns the port number that the report server was last configured to use. Read-only.

Syntax

Public Dim ServerPort As Integer
public Integer ServerPort;

Property Values

A read-only Integer object that represents the report server port number.

Example Code

MSReportServer_ConfigurationSetting Class

MSReportServer_ConfigurationSettingForSharePoint Class

Requirements

Namespace:root\Microsoft\SqlServer\ReportServer\v9\Admin

Platform: Windows Server 2003, Datacenter Edition; Windows Server 2003, Enterprise Edition; Windows Server 2003, Standard Edition; Windows Vista; Windows XP Professional with Service Pack 2 (SP2) or Service Pack 1 (SP1); or Windows 2000 (all versions)

See Also

Reference

MSReportServer_ConfigurationSetting Members
MSReportServer_ConfigurationSettingForSharePoint Members

Help and Information

Getting SQL Server 2005 Assistance