RepositoryExtensions.CheckIn 方法
命名空間: Microsoft.TeamFoundation.VersionControl.Server
組件: Microsoft.TeamFoundation.VersionControl.Server (在 Microsoft.TeamFoundation.VersionControl.Server.dll 中)
語法
'宣告
<WebMethodAttribute> _
Public Function CheckIn ( _
workspaceName As String, _
ownerName As String, _
serverItems As String(), _
info As Changeset, _
checkinNotificationInfo As CheckinNotificationInfo, _
checkinOptions As Integer, _
<OutAttribute> ByRef failures As StreamingCollection(Of Failure), _
deferCheckIn As Boolean, _
checkInTicket As Integer _
) As CheckinResult
[WebMethodAttribute]
public CheckinResult CheckIn(
string workspaceName,
string ownerName,
string[] serverItems,
Changeset info,
CheckinNotificationInfo checkinNotificationInfo,
int checkinOptions,
out StreamingCollection<Failure> failures,
bool deferCheckIn,
int checkInTicket
)
參數
- workspaceName
類型:System.String
- ownerName
類型:System.String
- serverItems
類型:array<System.String[]
- checkinNotificationInfo
類型:Microsoft.TeamFoundation.VersionControl.Server.CheckinNotificationInfo
- checkinOptions
類型:System.Int32
- deferCheckIn
類型:System.Boolean
- checkInTicket
類型:System.Int32
傳回值
類型:Microsoft.TeamFoundation.VersionControl.Server.CheckinResult
傳回 CheckinResult。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱 從部分受信任程式碼使用程式庫。