SPUsageIdentityTable.LookupOS, méthode (Microsoft.SharePoint.Administration)
Parses the specified user-agent string for possible operating systems and returns the first match, checking main group operating systems before others.
Espace de noms : Microsoft.SharePoint.Administration
Assembly : Microsoft.SharePoint (dans microsoft.sharepoint.dll)
Syntaxe
'Déclaration
Public Function LookupOS ( _
userAgent As String _
) As String
'Utilisation
Dim instance As SPUsageIdentityTable
Dim userAgent As String
Dim returnValue As String
returnValue = instance.LookupOS(userAgent)
public string LookupOS (
string userAgent
)
Paramètres
- userAgent
A string that specifies the user agent, for example, "Mozilla/4.0".
Valeur retournée
A string that identifies the operating system.
Voir aussi
Référence
SPUsageIdentityTable, classe
Membres SPUsageIdentityTable
Microsoft.SharePoint.Administration, espace de noms