SPGlobalAdmin.SetAdminPort(Int32, Boolean) SPGlobalAdmin.SetAdminPort(Int32, Boolean) SPGlobalAdmin.SetAdminPort(Int32, Boolean) Method

Definition

Warning

This API is now obsolete.

public:
 void SetAdminPort(int nPort, bool bSsl);
[System.Obsolete("To change the port of the administration site, update the SPIisSettings associated with SPAdministrationWebApplication.Local and call SPWebApplication.Provision().", false)]
public void SetAdminPort (int nPort, bool bSsl);
Public Sub SetAdminPort (nPort As Integer, bSsl As Boolean)
Parameters
nPort
Int32 Int32 Int32

Applies to