SPHttpUserAgentAndMethodClassifier.MatchSetting Property

Gets a value that specifies in what ways the request must match the SPHttpUserAgentAndMethodClassifier object.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public ReadOnly Property MatchSetting As SPHttpUserAgentAndMethodClassifier.MatchSettings
    Get
'Usage
Dim instance As SPHttpUserAgentAndMethodClassifier
Dim value As SPHttpUserAgentAndMethodClassifier.MatchSettings

value = instance.MatchSetting
public SPHttpUserAgentAndMethodClassifier.MatchSettings MatchSetting { get; }

Property Value

Type: Microsoft.SharePoint.Utilities.SPHttpUserAgentAndMethodClassifier.MatchSettings
A set of flags that specify how the request and the SPHttpUserAgentAndMethodClassifier object must match.

Remarks

The property can require any combination of the following as a condition of a match:

  • The user agent of the request must be identical to the value of the UserAgent property.

  • The user agent of the request must start with the value of the UserAgent property.

  • The HTTP method of the request must be the same as the value of the HttpMethod property.

See Also

Reference

SPHttpUserAgentAndMethodClassifier Class

SPHttpUserAgentAndMethodClassifier Members

Microsoft.SharePoint.Utilities Namespace