验证指定的超时长度保持在由MinAllowedTimeout和MaxAllowedTimeout属性设置的限制。
命名空间: 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如果超时长度保持在限制范围内设置的MinAllowedTimeout和MaxAllowedTimeout的属性 ;否则为false。