PersonalizationStateQuery.UsernameToMatch 属性

定义

获取或设置查询中的用户名。Gets or sets the user name in a query.

public:
 property System::String ^ UsernameToMatch { System::String ^ get(); void set(System::String ^ value); };
public string UsernameToMatch { get; set; }
member this.UsernameToMatch : string with get, set
Public Property UsernameToMatch As String

属性值

String

要在查询中使用的用户名。The user name to be used in a query.

注解

此属性表示执行查询时要筛选的用户名。This property represents the user name to filter against when executing a query. 如果 UsernameToMatch 包含通配符,则会将其传递到基础数据存储区。If UsernameToMatch contains wildcard characters, they are passed through to the underlying data store. 此属性可设置为 null ,指示查询不应基于用户名进行筛选。This property can be set to null, indicating that a query should not filter based on the user name. 如果此属性为非 null ,则修整其值。If this property is non-null, its value is trimmed.

适用于