验证指定的重试次数数保持内的MinAllowedRetries和MaxAllowedRetries属性设置的限制。
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Shared Function ValidateRetries ( _
RetryCount As Integer _
) As Boolean
用法
Dim RetryCount As Integer
Dim returnValue As Boolean
returnValue = SPDocumentConverter.ValidateRetries(RetryCount)
public static bool ValidateRetries(
int RetryCount
)
参数
RetryCount
类型:System.Int3232 位整数,它指定的重试次数。
返回值
类型:System.Boolean
true如果重试的次数仍在限制范围内设置的MinAllowedRetries和MaxAllowedRetries的属性 ;否则为false。