SPUsageIdentityTable.ReadFromXmlFile Method

Reads in usage identity information from the specified xml file.

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

Syntax

Public Sub ReadFromXmlFile ( _
    filename As String _
)

Dim instance As SPUsageIdentityTable
Dim filename As String

instance.ReadFromXmlFile(filename)
public void ReadFromXmlFile(
    string filename
)

Parameters

  • filename
    Type: System.String
    A string that contains the name of the usage identity XML file.

Remarks

The ReadFromXmlFile method allows the user to edit the default usage identity XML file (USAGEIDS.XML), or any custom usage identity XML file, and load it for use in usage report analysis. Existing matches in the table are overwritten.

The default usage identity XML file is installed at %setup_root%\CONFIG\USAGEIDS.XML, and contains mapping information for usage report components such as browsers, operating systems, and search engines. You can use this default file to restore default settings.

See Also

Reference

SPUsageIdentityTable Class

SPUsageIdentityTable Members

Microsoft.SharePoint.Administration Namespace