TeamFoundationMetabase.GetRequestRestrictions Method
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function GetRequestRestrictions ( _
applicationRelativePath As String, _
userAgent As String _
) As RequestRestrictions
public RequestRestrictions GetRequestRestrictions(
string applicationRelativePath,
string userAgent
)
public:
RequestRestrictions^ GetRequestRestrictions(
String^ applicationRelativePath,
String^ userAgent
)
member GetRequestRestrictions :
applicationRelativePath:string *
userAgent:string -> RequestRestrictions
public function GetRequestRestrictions(
applicationRelativePath : String,
userAgent : String
) : RequestRestrictions
Parameters
- applicationRelativePath
Type: System.String
- userAgent
Type: System.String
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.RequestRestrictions
.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.