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)
Available in Sandboxed Solutions: No

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