Share via


SPDeploymentErrorEventArgs.DeploymentObject property

Gets the SPDeploymentObject that caused the error.

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

Syntax

'Declaration
Public ReadOnly Property DeploymentObject As SPDeploymentObject
    Get
'Usage
Dim instance As SPDeploymentErrorEventArgs
Dim value As SPDeploymentObject

value = instance.DeploymentObject
public SPDeploymentObject DeploymentObject { get; }

Property value

Type: Microsoft.SharePoint.Deployment.SPDeploymentObject
Returns an SPDeploymentObject object.

See also

Reference

SPDeploymentErrorEventArgs class

SPDeploymentErrorEventArgs members

Microsoft.SharePoint.Deployment namespace