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