ConfigurationSetting 属性 - DatabaseQueryTimeoutConfigurationSetting Property - DatabaseQueryTimeout

指定必须经过多少秒后报表服务器才能假设命令失败或命令执行的时间过长。Specifies the number of seconds that must elapse before the report server assumes the command failed or took too much time to perform. 报表服务器会根据 SQL 目录对查询进行计时,而不会根据报表的数据源计时。The report server is timing the querying against the SQL catalog, not a data source for the report. 读/写。Read/write.

语法Syntax

Public Dim DatabaseQueryTimeout As UInt32  
public UInt32 DatabaseQueryTimeout;  

属性值Property Values

32 位的无符号 integer 对象,表示允许查询运行的秒数。A 32-bit unsigned integer object that represents the number of seconds that the query is allowed to run.

示例代码Example Code

MSReportServer_ConfigurationSetting 类MSReportServer_ConfigurationSetting Class

要求Requirements

命名空间: root\Microsoft\SqlServer\ReportServer\<InstanceName>\v13\Adminroot\Microsoft\SqlServer\ReportServer\<InstanceName>\v13\AdminNamespace: root\Microsoft\SqlServer\ReportServer\<InstanceName>\v13\Adminroot\Microsoft\SqlServer\ReportServer\<InstanceName>\v13\Admin

另请参阅See Also

MSReportServer_ConfigurationSetting 成员MSReportServer_ConfigurationSetting Members