Share via


ADPresentationObject.ValidateWrite Method

Validates the presentation object when it is written.

Namespace:  Microsoft.Exchange.Data.Directory.Management
Assembly:  Microsoft.Exchange.Data.Directory (in Microsoft.Exchange.Data.Directory.dll)

Syntax

'Declaration
Protected Overrides Sub ValidateWrite ( _
    errors As List(Of ValidationError) _
)
'Usage
Dim errors As List(Of ValidationError)

Me.ValidateWrite(errors)
protected override void ValidateWrite(
    List<ValidationError> errors
)

Parameters

Exceptions

Exception Condition
NotSupportedException

The underlying ADObject is a null reference (Nothing in Visual Basic).

Remarks

This override validates the presentation object values before they are written to the Active Directory data store object.