TeamFoundationMetabase.SetRequestRestrictionsOnUserAgent メソッド
特定のユーザー エージェントの要求の制限を設定する正規表現。
名前空間: Microsoft.TeamFoundation.Framework.Server
アセンブリ: Microsoft.TeamFoundation.Framework.Server (Microsoft.TeamFoundation.Framework.Server.dll 内)
構文
'宣言
Public Sub SetRequestRestrictionsOnUserAgent ( _
userAgentPattern As String, _
userAgentStartsWithFilter As String, _
restrictions As RequestRestrictions _
)
public void SetRequestRestrictionsOnUserAgent(
string userAgentPattern,
string userAgentStartsWithFilter,
RequestRestrictions restrictions
)
パラメーター
- userAgentPattern
型 : System.String
要求のユーザー エージェント文字列の照合に使用する正規表現
- userAgentStartsWithFilter
型 : System.String
- restrictions
型 : Microsoft.TeamFoundation.Framework.Server.RequestRestrictions
要求の制限
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。