다음을 통해 공유


IDeploymentConflictCollection 인터페이스

IDeploymentConflict 개체의 컬렉션을 나타냅니다.각 IDeploymentConflict는 SharePoint 프로젝트 항목에 의해 배포되는 항목과 SharePoint 사이트의 항목 간 충돌을 나타냅니다.

네임스페이스:  Microsoft.VisualStudio.SharePoint.Deployment
어셈블리:  Microsoft.VisualStudio.SharePoint(Microsoft.VisualStudio.SharePoint.dll)

구문

‘선언
Public Interface IDeploymentConflictCollection _
    Inherits IEnumerable(Of IDeploymentConflict), IEnumerable
public interface IDeploymentConflictCollection : IEnumerable<IDeploymentConflict>, 
    IEnumerable

IDeploymentConflictCollection 형식에서는 다음과 같은 멤버를 노출합니다.

메서드

  이름 설명
Public 메서드 Add
Public 메서드 GetEnumerator() 컬렉션을 반복하는 열거자를 반환합니다. (IEnumerable<IDeploymentConflict>에서 상속됨)
Public 메서드 GetEnumerator() 컬렉션을 반복하는 열거자를 반환합니다. (IEnumerable에서 상속됨)

위쪽

설명

IDeploymentConflictCollection 개체는 DeploymentStepStartedEventArgs.Conflicts 속성에 의해 반환됩니다.SharePoint 프로젝트 항목이 배포되는 중에 배포 충돌이 존재하는지 확인할 경우 IDeploymentConflictCollection.Add 메서드를 사용하여 충돌에 대해 Visual Studio에 알리고 Visual Studio에 그러한 충돌을 해결하도록 호출하는 메서드를 지정합니다.IDeploymentConflictCollection.Add 메서드는 새로운 배포 충돌을 나타내는 IDeploymentConflict 개체를 반환합니다.

예제를 보려면 방법: 배포 충돌 처리을 참조하십시오.

참고 항목

참조

Microsoft.VisualStudio.SharePoint.Deployment 네임스페이스