Sharepoint web application creation using the object model
I am using the webapplicationbuilder class to create a new web application and have found many articles开发者_如何学Python that help with this, none however seem to specify how you designate the URL or the application, i just get "sharepoint - 123" where 123 is the port specified and "servername/:123" as the url, whereas i need "http://myserver/.
Thanks
Assuming you mean the SPWebApplicationBuilder class.
Have you tried to set the HostHeader property of your SPWebApplicationBuilder object?
精彩评论