Finds all the FIM CM requests that the caller has permission to read that match the specified criteria.
Namespace: Microsoft.Clm.Provision
Assembly: Microsoft.Clm.Provision (in microsoft.clm.provision.dll)

Usage

Visual Basic
Dim requestTypes As RequestType()
Dim statuses As RequestStatus()
Dim originatorUsersUuid As Guid()
Dim targetUsersUuid As Guid()
Dim submittedFrom As DateTime
Dim submittedTo As DateTime
Dim returnValue As ReadOnlyCollection(Of Request)

returnValue = FindOperations.FindRequests(requestTypes, statuses, originatorUsersUuid, targetUsersUuid, submittedFrom, submittedTo)

Syntax

Visual Basic
Public Shared Function FindRequests ( _
		requestTypes As RequestType(), _
		statuses As RequestStatus(), _
		originatorUsersUuid As Guid(), _
		targetUsersUuid As Guid(), _
		submittedFrom As DateTime, _
		submittedTo As DateTime _
) As ReadOnlyCollection(Of Request)
C#
public static ReadOnlyCollection<Request> FindRequests (
		RequestType[] requestTypes,
		RequestStatus[] statuses,
		Guid[] originatorUsersUuid,
		Guid[] targetUsersUuid,
		DateTime submittedFrom,
		DateTime submittedTo
)
C++
public:
static ReadOnlyCollection<Request^>^ FindRequests (
		array<RequestType>^ requestTypes, 
		array<RequestStatus>^ statuses, 
		array<Guid>^ originatorUsersUuid, 
		array<Guid>^ targetUsersUuid, 
		DateTime submittedFrom, 
		DateTime submittedTo
)
J#
public static ReadOnlyCollection<Request> FindRequests (
		RequestType[] requestTypes, 
		RequestStatus[] statuses, 
		Guid[] originatorUsersUuid, 
		Guid[] targetUsersUuid, 
		DateTime submittedFrom, 
		DateTime submittedTo
)
JScript
public static function FindRequests (
		requestTypes : RequestType[], 
		statuses : RequestStatus[], 
		originatorUsersUuid : Guid[], 
		targetUsersUuid : Guid[], 
		submittedFrom : DateTime, 
		submittedTo : DateTime
) : ReadOnlyCollection<Request>

Parameters

requestTypes

An array of RequestType values that specifies the types of FIM CM requests to find. Supply an empty array to find all kinds of FIM CM requests.

statuses

An array of RequestStatus values that specifies the statuses of the FIM CM requests to find. Supply an empty array to find FIM CM requests with any status value.

originatorUsersUuid

An array of Guid objects that specifies the users who originated the FIM CM requests to find. Supply an empty array to find FIM CM requests that were originated by any user.

targetUsersUuid

An array of Guid objects that specifies the users who are the target of the FIM CM requests to find. Supply an empty array to find FIM CM requests that were targeted for any user.

submittedFrom

A DateTime object, in Coordinated Universal Time (UTC), that specifies the time after which the FIM CM requests to find were submitted.

submittedTo

A DateTime object, in Coordinated Universal Time (UTC), that specifies the time before which the FIM CM requests to find were submitted.

Return Value

A read-only collection of Request objects that the caller has permission to read that match the specified criteria.

Remarks

The criteria that are specified in the supplied parameters are combined. All of the criteria must be satisfied for a FIM CM request to be included in the result set. The submittedFrom and submittedToDateTime objects are used to define a time range for the returned FIM CM requests.


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.

Platforms

Development Platforms

Windows 2008 x64 Edition

Target Platforms

Windows XP SP3, Windows Vista SP1+, Windows 7, Windows Server 2008, Windows Server 2008 R2

See Also