MessageHygieneAgentConfig.ValidateMaximumCollectionCount Method
Namespace: Microsoft.Exchange.Data.Directory.SystemConfiguration
Assembly: Microsoft.Exchange.Data.Directory (in Microsoft.Exchange.Data.Directory.dll)
Syntax
'Declaration
Protected Sub ValidateMaximumCollectionCount ( _
errors As List(Of ValidationError), _
collection As ICollection, _
maximum As Integer, _
property As PropertyDefinition _
)
'Usage
Dim errors As List(Of ValidationError)
Dim collection As ICollection
Dim maximum As Integer
Dim property As PropertyDefinition
Me.ValidateMaximumCollectionCount(errors, _
collection, maximum, property)
protected void ValidateMaximumCollectionCount(
List<ValidationError> errors,
ICollection collection,
int maximum,
PropertyDefinition property
)
Parameters
- errors
Type: System.Collections.Generic.List<ValidationError>
- collection
Type: System.Collections.ICollection
- maximum
Type: System.Int32
- property
Type: Microsoft.Exchange.Data.PropertyDefinition