다음을 통해 공유


QueryInfo.UserName Property

Gets or sets the name of the user who issued the Search query.

Namespace:  Microsoft.Office.Server.Search.Query
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
<DataMemberAttribute> _
Public Property UserName As String
    Get
    Set
'Usage
Dim instance As QueryInfo
Dim value As String

value = instance.UserName

instance.UserName = value
[DataMemberAttribute]
public string UserName { get; set; }

Property Value

Type: System.String
The name of the user who issued the Search query.

See Also

Reference

QueryInfo Class

QueryInfo Members

Microsoft.Office.Server.Search.Query Namespace