Microsoft Identity Integration Server 2003 Developer Reference

Utils.FindMVEntries (String, String, Int32, String)

The FindMVEntries (String, String, Int32, String) method is a static method that retrieves the metaverse entries with the specified string attribute value and maximum number of results. The results are returned in the specified collation order.
public MVEntry[] FindMVEntries(
  String attributeName,
  String value,
  Int32 maxResults,
  String collationOrder
[Visual Basic .NET]
Public Function FindMVEntries( _
  ByVal attributeName As String, _
  ByVal value As String, _
  ByVal maxResults As Int32, _
  ByVal collationOrder As String _
) As MVEntry[]


Contains the name of the metaverse attribute to retrieve.
Contains a string that the attribute identified by attributeName must contain.
Contains the maximum number of metaverse entries to retrieve.
Contains a string that specifies the collation order. This string takes the form of the collation strings provided by the fn_helpcollations SQL function.

Return Values

Returns an array of MVEntry objects that represent the metaverse entries found in the search.


Exception type Condition
ArgumentNullException The attributeName or value parameter is null.
ArgumentOutOfRangeException The maxResults parameter is less than or equal to zero.
InvalidOperationException The value represented by the value parameter cannot be converted to the data type of the attribute identified by attributeName.


This method will throw an InvalidOperationException exception and the management agent run profile will stop with a status of stopped-extension-dll-exception if called from the following methods:


Product: Microsoft Identity Integration Server 2003
Namespace: Defined in Microsoft.MetadirectoryServices.
Assembly: Requires Microsoft.MetadirectoryServices (in Microsoft.MetadirectoryServices.dll).
.NET Framework: Requires .NET Framework 1.1.

See Also

MVEntry, Utils