IUserSettingsManagement.GetUserSearches Method

Definition

Gets a collection of defined user searches.

Overloads

GetUserSearches(String)

Gets a collection of all user searches that match the name.

GetUserSearches()

Gets a collection of all user searches for the current user.

GetUserSearches(String)

Gets a collection of all user searches that match the name.

public:
 System::Collections::Generic::IList<Microsoft::EnterpriseManagement::UserInfo::UserSearch ^> ^ GetUserSearches(System::String ^ name);
public System.Collections.Generic.IList<Microsoft.EnterpriseManagement.UserInfo.UserSearch> GetUserSearches (string name);
abstract member GetUserSearches : string -> System.Collections.Generic.IList<Microsoft.EnterpriseManagement.UserInfo.UserSearch>
Public Function GetUserSearches (name As String) As IList(Of UserSearch)

Parameters

name
String

Type: String

The name of the user searches.

Returns

Type: IList<T>

The collection of user searches.

Exceptions

The name parameter is a null reference (Nothing in Visual Basic).

The name parameter is empty.

Applies to

GetUserSearches()

Gets a collection of all user searches for the current user.

public:
 System::Collections::Generic::IList<Microsoft::EnterpriseManagement::UserInfo::UserSearch ^> ^ GetUserSearches();
public System.Collections.Generic.IList<Microsoft.EnterpriseManagement.UserInfo.UserSearch> GetUserSearches ();
abstract member GetUserSearches : unit -> System.Collections.Generic.IList<Microsoft.EnterpriseManagement.UserInfo.UserSearch>
Public Function GetUserSearches () As IList(Of UserSearch)

Returns

Type: IList<T>

The collection of user searches.

Applies to