Share via


IDeploymentConflict Interface

Represents a conflict between items being deployed by a SharePoint project item and items on the SharePoint site.

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

Syntax

'Declaration
Public Interface IDeploymentConflict _
    Inherits INotifyPropertyChanged
public interface IDeploymentConflict : INotifyPropertyChanged

The IDeploymentConflict type exposes the following members.

Properties

  Name Description
Public property Description The description of the deployment conflict.
Public property ProjectItem The SharePoint project item that is associated with this deployment conflict.
Public property PromptBeforeResolve Indicates whether to prompt the user before executing the Resolve method.

Top

Methods

  Name Description
Public method Resolve Resolves the deployment conflict represented by the current instance, if possible.

Top

Events

  Name Description
Public event PropertyChanged Occurs when a property value changes. (Inherited from INotifyPropertyChanged.)

Top

Remarks

To create a new IDeploymentConflict object to handle a deployment conflict, use the IDeploymentConflictCollection.Add(String, Func<T, TResult>, Boolean) method. For an example, see How to: Handle Deployment Conflicts.

See Also

Reference

Microsoft.VisualStudio.SharePoint.Deployment Namespace