共用方式為


TeamFoundationMetabase.SetRequestRestrictions 方法 (String, RequestRestrictions)

特定相對路徑設定要求限制,然後以遞迴方式。

命名空間:  Microsoft.TeamFoundation.Framework.Server
組件:  Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)

語法

'宣告
Public Sub SetRequestRestrictions ( _
    applicationRelativePath As String, _
    restrictions As RequestRestrictions _
)
public void SetRequestRestrictions(
    string applicationRelativePath,
    RequestRestrictions restrictions
)

參數

.NET Framework 安全性

請參閱

參考

TeamFoundationMetabase 類別

SetRequestRestrictions 多載

Microsoft.TeamFoundation.Framework.Server 命名空間