SecureStoreServiceApplication.ApplicationPoolChanged(SPIisWebServiceApplicationPool) SecureStoreServiceApplication.ApplicationPoolChanged(SPIisWebServiceApplicationPool) SecureStoreServiceApplication.ApplicationPoolChanged(SPIisWebServiceApplicationPool) Method

Definition

Grants the Secure Store Service database access to the new application pool owner after the application pool has changed.

public:
 void ApplicationPoolChanged(Microsoft::SharePoint::Administration::SPIisWebServiceApplicationPool ^ oldApplicationPool);
public void ApplicationPoolChanged (Microsoft.SharePoint.Administration.SPIisWebServiceApplicationPool oldApplicationPool);
Public Sub ApplicationPoolChanged (oldApplicationPool As SPIisWebServiceApplicationPool)
Parameters

Remarks

This method must be called after the application pool has changed in the application. It does not revoke the old ownership of the application pool. The old account may be the account under which the provisioning of the SecureStoreServiceDatabase occurs. Hence, revoking the old ownership would break the provisioning of the SecureStoreServiceDatabase.

Applies to