Share via


SPDocumentConverter.ValidateTimeout method

Verifies that the specified timeout length remains within the limits set by the MinAllowedTimeout and MaxAllowedTimeout properties.

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

Syntax

'Declaration
Public Shared Function ValidateTimeout ( _
    Time As Integer _
) As Boolean
'Usage
Dim Time As Integer
Dim returnValue As Boolean

returnValue = SPDocumentConverter.ValidateTimeout(Time)
public static bool ValidateTimeout(
    int Time
)

Parameters

  • Time
    Type: System.Int32

    A 32-bit integer that specifes the timeout length in seconds to verify.

Return value

Type: System.Boolean
true if the timeout length remains within the limits set by the MinAllowedTimeout and MaxAllowedTimeout properties; otherwise, false.

See also

Reference

SPDocumentConverter class

SPDocumentConverter members

Microsoft.SharePoint.Administration namespace