Share via


SPDeployment.Dispose Method

Releases managed resources upon completing or cancelling the deployment operation.

Namespace:  Microsoft.SharePoint.Deployment
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Sub Dispose
'Usage
Dim instance As SPDeployment

instance.Dispose()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public void Dispose()

Implements

IDisposable.Dispose()

See Also

Reference

SPDeployment Class

SPDeployment Members

Microsoft.SharePoint.Deployment Namespace