only My site

Wednesday, May 29, 2013

SPWebApplication.Lookup Method

Finds the Web application that is located in the specified path.

static void Main(string[] args)
{
     SPWebApplication app = SPWebApplication.Lookup(new Uri("http://spdev2010:1000"));
}

No comments: