Compartilhar via


SecureStoreServiceApplication.ApplicationPoolChanged Method

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

Namespace:  Microsoft.Office.SecureStoreService.Server
Assembly:  Microsoft.Office.SecureStoreService (in Microsoft.Office.SecureStoreService.dll)

Syntax

'Declaration
Public Sub ApplicationPoolChanged ( _
    oldApplicationPool As SPIisWebServiceApplicationPool _
)
'Usage
Dim instance As SecureStoreServiceApplication
Dim oldApplicationPool As SPIisWebServiceApplicationPool

instance.ApplicationPoolChanged(oldApplicationPool)
public void ApplicationPoolChanged(
    SPIisWebServiceApplicationPool oldApplicationPool
)

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.

See Also

Reference

SecureStoreServiceApplication Class

SecureStoreServiceApplication Members

Microsoft.Office.SecureStoreService.Server Namespace