Namespace: Microsoft.Clm
Assembly: Microsoft.Clm.Common (in microsoft.clm.common.dll)
Usage
Visual Basic |
---|
Dim instance As ICustomItemValidator2 Dim dataItemName As String Dim dataItemValue As Object Dim strCurrentUser As String Dim xml As String Dim request As Request instance.VerifyDataItem(dataItemName, dataItemValue, strCurrentUser, xml, request) |
Syntax
Visual Basic |
---|
Sub VerifyDataItem ( _ dataItemName As String, _ dataItemValue As Object, _ strCurrentUser As String, _ xml As String, _ request As Request _ ) |
C# |
---|
void VerifyDataItem ( string dataItemName, Object dataItemValue, string strCurrentUser, string xml, Request request ) |
C++ |
---|
void VerifyDataItem ( String^ dataItemName, Object^ dataItemValue, String^ strCurrentUser, String^ xml, Request^ request ) |
J# |
---|
void VerifyDataItem ( String dataItemName, Object dataItemValue, String strCurrentUser, String xml, Request request ) |
JScript |
---|
function VerifyDataItem ( dataItemName : String, dataItemValue : Object, strCurrentUser : String, xml : String, request : Request ) |
Parameters
- dataItemName
-
A String object that contains the name of the data item that is being validated.
- dataItemValue
-
An Object object that contains the value of the data item that is being validated.
- strCurrentUser
-
A String object that contains the domain name and username of the current user.
- xml
-
An optional String object that contains all the data collection items.
- request
-
A Request object that describes a FIM CM request.
Remarks
A ClmValidationException exception is thrown if the validation fails.
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.