Partager via


TeamFoundationMetabase.SetRequestRestrictions Method (String, RequestRestrictions)

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

.NET Framework Security

See Also

Reference

TeamFoundationMetabase Class

SetRequestRestrictions Overload

Microsoft.TeamFoundation.Framework.Server Namespace