SPDocumentConverter.ValidateTimeout 方法

验证指定的超时长度保持在由MinAllowedTimeoutMaxAllowedTimeout属性设置的限制。

命名空间:  Microsoft.SharePoint.Administration
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
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
    类型:System.Int32

    一个 32 位的整数,指定的超时长度,以秒为单位) 来验证。

返回值

类型:System.Boolean
true如果超时长度保持在限制范围内设置的MinAllowedTimeoutMaxAllowedTimeout的属性 ;否则为false。

另请参阅

引用

SPDocumentConverter 类

SPDocumentConverter 成员

Microsoft.SharePoint.Administration 命名空间