Note: This API is now obsolete.
Namespace:  Microsoft.TeamFoundation.VersionControl.Server
Assembly:  Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Declaration
<ObsoleteAttribute("Use the constructor that takes the TeamFoundationIdentity object instead")> _
<BrowsableAttribute(False)> _
Public Sub New ( _
    user As String, _
    items As List(Of ClientArtifact), _
    allChangesIncluded As Boolean _
)
[ObsoleteAttribute("Use the constructor that takes the TeamFoundationIdentity object instead")]
[BrowsableAttribute(false)]
public PathRestriction(
    string user,
    List<ClientArtifact> items,
    bool allChangesIncluded
)
[ObsoleteAttribute(L"Use the constructor that takes the TeamFoundationIdentity object instead")]
[BrowsableAttribute(false)]
public:
PathRestriction(
    String^ user, 
    List<ClientArtifact^>^ items, 
    bool allChangesIncluded
)
[<ObsoleteAttribute("Use the constructor that takes the TeamFoundationIdentity object instead")>]
[<BrowsableAttribute(false)>]
new : 
        user:string * 
        items:List<ClientArtifact> * 
        allChangesIncluded:bool -> PathRestriction
public function PathRestriction(
    user : String, 
    items : List<ClientArtifact>, 
    allChangesIncluded : boolean
)
Parameters
- user
 Type: System.String
- items
 Type: System.Collections.Generic.List<ClientArtifact>
- allChangesIncluded
 Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.