Partilhar via


SPRequestUsageEntry.UserAgent Property

Get or sets the user agent value for the client-side browser initiating the request.

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

Syntax

'Declaration
Public Property UserAgent As String
    Get
    Set
'Usage
Dim instance As SPRequestUsageEntry
Dim value As String

value = instance.UserAgent

instance.UserAgent = value
public string UserAgent { get; set; }

Property Value

Type: System.String
An HTTP user agent.

See Also

Reference

SPRequestUsageEntry Class

SPRequestUsageEntry Members

Microsoft.SharePoint.Administration Namespace