Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in microsoft.metadirectoryservicesex.dll)
Usage
Syntax
Visual Basic |
---|
Public Shared Function FindMVEntries ( _ attributeName As String, _ value As Byte(), _ maxResults As Integer _ ) As MVEntry() |
C# |
---|
public static MVEntry[] FindMVEntries ( string attributeName, byte[] value, int maxResults ) |
C++ |
---|
public: static array<MVEntry^>^ FindMVEntries ( String^ attributeName, array<unsigned char>^ value, int maxResults ) |
J# |
---|
public static MVEntry[] FindMVEntries ( String attributeName, byte[] value, int maxResults ) |
JScript |
---|
public static function FindMVEntries ( attributeName : String, value : byte[], maxResults : int ) : MVEntry[] |
Parameters
- attributeName
-
Contains the name of the metaverse attribute to retrieve.
- value
-
Contains an array of bytes 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.Exceptions
Exception type | Condition |
---|---|
System.ArgumentNullException |
The attributeName or value parameter is null. |
System.ArgumentOutOfRangeException |
The maxResults parameter is less than or equal to zero. |
System.InvalidOperationException |
The value represented by the value parameter cannot be converted to the data type of the attribute identified by attributeName. |
Remarks
This method will throw an System.InvalidOperationException exception and the management agent run profile will stop and throw the stopped-extension-dll-exception if called from the following methods:
-
The rules extension object constructor
-
The Initialize method
-
The Terminate method
-
The Initialize method
-
The Terminate method
For more information about the stopped-extension-dll-exception, see WMI Provider Return Strings.
Thread Safety
Platforms
Target Platforms
See Also
Reference
Utils ClassUtils Members
Microsoft.MetadirectoryServices Namespace
MVEntry Class