共用方式為


SPDocumentConverter.ValidateTimeout method

驗證指定的逾時長度保持在MinAllowedTimeoutMaxAllowedTimeout屬性來設定的限制內。

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

Syntax

'宣告
Public Shared Function ValidateTimeout ( _
    Time As Integer _
) As Boolean
'用途
Dim Time As Integer
Dim returnValue As Boolean

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

參數

  • Time
    Type: System.Int32

    32 位元整數該常數指定此確認秒的逾時長度。

傳回值

Type: System.Boolean
true如果逾時長度仍會保留在MinAllowedTimeoutMaxAllowedTimeout屬性,來設定的限制內否則,請false。

請參閱

參照

SPDocumentConverter class

SPDocumentConverter members

Microsoft.SharePoint.Administration namespace