TeamFoundationVersionControlService.FilterShelveset 方法
篩選陣列中的擱置集使用者並傳回路徑限制清單。
命名空間: Microsoft.TeamFoundation.VersionControl.Server
組件: Microsoft.TeamFoundation.VersionControl.Server (在 Microsoft.TeamFoundation.VersionControl.Server.dll 中)
語法
'宣告
Public Function FilterShelveset ( _
requestContext As TeamFoundationRequestContext, _
userIdentities As TeamFoundationIdentity(), _
shelvesetName As String, _
shelvesetOwner As String _
) As List(Of PathRestriction)
public List<PathRestriction> FilterShelveset(
TeamFoundationRequestContext requestContext,
TeamFoundationIdentity[] userIdentities,
string shelvesetName,
string shelvesetOwner
)
參數
- requestContext
型別:Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
要求內容。
- userIdentities
型別:array<Microsoft.TeamFoundation.Framework.Server.TeamFoundationIdentity[]
篩選的使用者清單。
- shelvesetName
型別:System.String
擱置集的名稱。
- shelvesetOwner
型別:System.String
擱置集的擁有人。
傳回值
型別:System.Collections.Generic.List<PathRestriction>
路徑限制清單中提供的使用者。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。