SPUsageIdentityTable.AddOSName Method
Adds mapping for an operating system name to the usage identity table.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
Public Sub AddOSName ( _
match As String, _
isMainGroup As Boolean, _
name As String _
)
Dim instance As SPUsageIdentityTable
Dim match As String
Dim isMainGroup As Boolean
Dim name As String
instance.AddOSName(match, isMainGroup, _
name)
public void AddOSName(
string match,
bool isMainGroup,
string name
)
Parameters
- match
Type: System.String
A string that contains the keywords to search for in the user-agent string. For example, "WinNT" is a match for "Windows NT".
- isMainGroup
Type: System.Boolean
true to specify that this operating system is part of the default group that is searched first; otherwise, false.
- name
Type: System.String
A string that contains the display name of the operating system.