ShelvesetUri 构造函数 (TeamFoundationServer, String, String, UriType)
注意:此 API 现在已过时。
构造给定的搁置集URI对象 Team Foundation Server 对象和搁置集名称和所有者。
命名空间: Microsoft.TeamFoundation.VersionControl.Common
程序集: Microsoft.TeamFoundation.VersionControl.Common.Integration(在 Microsoft.TeamFoundation.VersionControl.Common.Integration.dll 中)
语法
声明
<ObsoleteAttribute("The TeamFoundationServer class is obsolete and so is this method. Use the overload of this method that takes a TfsTeamProjectCollection object instead.")> _
Public Sub New ( _
teamFoundationServer As TeamFoundationServer, _
shelvesetName As String, _
shelvesetOwner As String, _
type As UriType _
)
[ObsoleteAttribute("The TeamFoundationServer class is obsolete and so is this method. Use the overload of this method that takes a TfsTeamProjectCollection object instead.")]
public ShelvesetUri(
TeamFoundationServer teamFoundationServer,
string shelvesetName,
string shelvesetOwner,
UriType type
)
参数
- teamFoundationServer
类型:Microsoft.TeamFoundation.Client.TeamFoundationServer
Team Foundation Server 对象
- shelvesetName
类型:System.String
项目应构造搁置集的名称
- shelvesetOwner
类型:System.String
搁置集的所有者
- type
类型:Microsoft.TeamFoundation.VersionControl.Common.UriType
指示项目是否应包含从搁置集的信息(即..,请包括工作项关联、签入说明等.)
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。