IUserSettingsManagement.GetUserSearches Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.