Utils.FindMVEntries Method (String, Int64, Int32)

The FindMVEntries method is a static method that retrieves the metaverse entries with the specified System.Int64 attribute value and maximum number of results.

Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in Microsoft.MetadirectoryServicesEx.dll)


Dim attributeName As String
Dim value As Long
Dim maxResults As Integer
Dim returnValue As MVEntry()

returnValue = Utils.FindMVEntries(attributeName, value, maxResults)


Public Shared Function FindMVEntries ( _
    attributeName As String, _
    value As Long, _
    maxResults As Integer _
) As MVEntry()
public static MVEntry[] FindMVEntries (
    string attributeName,
    long value,
    int maxResults
static array<MVEntry^>^ FindMVEntries (
    String^ attributeName, 
    long long value, 
    int maxResults
public static MVEntry[] FindMVEntries (
    String attributeName, 
    long value, 
    int maxResults
public static function FindMVEntries (
    attributeName : String, 
    value : long, 
    maxResults : int
) : MVEntry[]


  • attributeName
    Contains the name of the metaverse attribute to retrieve.
  • value
    Contains an System.Int64 value that the attribute identified by attributeName must contain.
  • maxResults
    Contains the maximum number of metaverse entries to retrieve.

Return Value

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


Exception type Condition

The attributeName or value parameter is null.


The maxResults parameter is less than or equal to zero.


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 System.InvalidOperationException exception and the management agent run profile will stop with a status of stopped-extension-dll-exception if called from the following methods:

For more information about the stopped-extension-dll-exception, see Return Strings.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


Target Platforms

See Also


Utils Class
Utils Members
Microsoft.MetadirectoryServices Namespace
MVEntry Class

Other Resources

Return Strings