Share via


SPDocumentConverter.Retries property

Gets or sets the maximum number or retries for the document converter.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property Retries As Integer
    Get
    Set
'Usage
Dim instance As SPDocumentConverter
Dim value As Integer

value = instance.Retries

instance.Retries = value
public int Retries { get; set; }

Property value

Type: System.Int32
A 32-bit integer that specifies the maximum number of retries.

Remarks

If the value is less than the value specified by the MinAllowed()

[Retries] property, or greater than the value specified by the MaxAllowedRetries property, the Retries property throws an ArgumentException.

See also

Reference

SPDocumentConverter class

SPDocumentConverter members

Microsoft.SharePoint.Administration namespace