Пример #1
0
        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)
 {
 }
Пример #3
0
 private OceanikServiceApplication(string name, OceanikService service, SPIisWebServiceApplicationPool appPool)
     : base(name, service, appPool)
 {
 }