Set request restrictions for a given relative path, recursively.
Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Sub SetRequestRestrictions ( _
    applicationRelativePath As String, _
    restrictions As RequestRestrictions _
)
public void SetRequestRestrictions(
    string applicationRelativePath,
    RequestRestrictions restrictions
)
public:
void SetRequestRestrictions(
    String^ applicationRelativePath, 
    RequestRestrictions^ restrictions
)
member SetRequestRestrictions : 
        applicationRelativePath:string * 
        restrictions:RequestRestrictions -> unit
public function SetRequestRestrictions(
    applicationRelativePath : String, 
    restrictions : RequestRestrictions
)
Parameters
- applicationRelativePath 
 Type: System.String- relative path 
- restrictions 
 Type: Microsoft.TeamFoundation.Framework.Server.RequestRestrictions- request restrictions 
.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.