Repository5.AddConflict 方法
命名空間: Microsoft.TeamFoundation.VersionControl.Server
組件: Microsoft.TeamFoundation.VersionControl.Server (在 Microsoft.TeamFoundation.VersionControl.Server.dll 中)
語法
'宣告
<WebMethodAttribute> _
Public Sub AddConflict ( _
workspaceName As String, _
ownerName As String, _
conflictType As ConflictType, _
itemId As Integer, _
versionFrom As Integer, _
pendingChangeId As Integer, _
sourceLocalItem As String, _
targetLocalItem As String, _
reason As Integer, _
maxClientPathLength As Integer _
)
[WebMethodAttribute]
public void AddConflict(
string workspaceName,
string ownerName,
ConflictType conflictType,
int itemId,
int versionFrom,
int pendingChangeId,
string sourceLocalItem,
string targetLocalItem,
int reason,
int maxClientPathLength
)
參數
- workspaceName
類型:System.String
- ownerName
類型:System.String
- conflictType
類型:Microsoft.TeamFoundation.VersionControl.Server.ConflictType
- itemId
類型:System.Int32
- versionFrom
類型:System.Int32
- pendingChangeId
類型:System.Int32
- sourceLocalItem
類型:System.String
- targetLocalItem
類型:System.String
- reason
類型:System.Int32
- maxClientPathLength
類型:System.Int32
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。