public static OceanikServiceApplication Create(string name, OceanikService service, SPIisWebServiceApplicationPool appPool) { // ... validation code omitted ... // create the service application var serviceApplication = new OceanikServiceApplication(name, service, appPool); serviceApplication.Update(); // register the supported endpoints serviceApplication.AddServiceEndpoint("http", SPIisWebServiceBindingType.Http); serviceApplication.AddServiceEndpoint("https", SPIisWebServiceBindingType.Https, "secure"); return(serviceApplication); }
public OceanikServiceInstance(SPServer server, OceanikService service) : base(server, service) { }
private OceanikServiceApplication(string name, OceanikService service, SPIisWebServiceApplicationPool appPool) : base(name, service, appPool) { }