Share via


TeamFoundationVersionControlService.FilterShelveset Method

Filters a shelveset for an array of users and returns a list of path restrictions.

Namespace:  Microsoft.TeamFoundation.VersionControl.Server
Assembly:  Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)

Syntax

'Declaration
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
)
public:
List<PathRestriction^>^ FilterShelveset(
    TeamFoundationRequestContext^ requestContext, 
    array<TeamFoundationIdentity^>^ userIdentities, 
    String^ shelvesetName, 
    String^ shelvesetOwner
)
member FilterShelveset : 
        requestContext:TeamFoundationRequestContext * 
        userIdentities:TeamFoundationIdentity[] * 
        shelvesetName:string * 
        shelvesetOwner:string -> List<PathRestriction> 
public function FilterShelveset(
    requestContext : TeamFoundationRequestContext, 
    userIdentities : TeamFoundationIdentity[], 
    shelvesetName : String, 
    shelvesetOwner : String
) : List<PathRestriction>

Parameters

Return Value

Type: System.Collections.Generic.List<PathRestriction>
The list of path restrictions for the provided users.

.NET Framework Security

See Also

Reference

TeamFoundationVersionControlService Class

Microsoft.TeamFoundation.VersionControl.Server Namespace