Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Provision method

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();
        }

Show:
© 2015 Microsoft