SPUsageIdentityTable.AddBrowserName Method

Adds mapping for a browser name to the usage identity table.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

Public Sub AddBrowserName ( _
    match As String, _
    priority As Integer, _
    name As String _
)

Dim instance As SPUsageIdentityTable
Dim match As String
Dim priority As Integer
Dim name As String

instance.AddBrowserName(match, priority, _
    name)
public void AddBrowserName(
    string match,
    int priority,
    string name
)

Parameters

  • match
    Type: System.String
    A string that contains the keywords to search for in the user-agent string. For example, "MSIE" is a match for "Internet Explorer".
  • priority
    Type: System.Int32
    A 32-bit integer that specifies the precedence of this match, used when a string has multiple matches. A smaller numbered priority matches before a higher priority.
  • name
    Type: System.String
    A string that specifies the display name of the browser.

See Also

Reference

SPUsageIdentityTable Class

SPUsageIdentityTable Members

Microsoft.SharePoint.Administration Namespace