Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

SPIisWebServiceApplication.Provision method

Provisions the web service application in the server farm.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public override void Provision()

The Service Application Framework Sampleneeds two methods to both provision and un-provision the service application and its instance. These methods will be called from the UI when an administrator creates or stop a service application instance. Refer to Provisioning Service Applications for more information.

public override void Provision()
        {
            m_Database.Provision();

            base.Provision();
        }

        public override void Unprovision(
            bool deleteData)
        {
            base.Unprovision(deleteData);

            m_Database.Unprovision();
        }

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.