Repository4.UpdateShelveset 方法
注意: 属性包的搁置集的当前仅更新将生效。
所有其他更新会导致无操作。
命名空间: Microsoft.TeamFoundation.VersionControl.Server
程序集: Microsoft.TeamFoundation.VersionControl.Server(在 Microsoft.TeamFoundation.VersionControl.Server.dll 中)
语法
声明
<WebMethodAttribute> _
Public Sub UpdateShelveset ( _
shelvesetName As String, _
ownerName As String, _
updatedShelveset As Shelveset _
)
[WebMethodAttribute]
public void UpdateShelveset(
string shelvesetName,
string ownerName,
Shelveset updatedShelveset
)
参数
- shelvesetName
类型:System.String
若要更新的搁置集的名称。
- ownerName
类型:System.String
- updatedShelveset
类型:Microsoft.TeamFoundation.VersionControl.Server.Shelveset
已更新的搁置集。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。