Skip to content

Latest commit

 

History

History
58 lines (48 loc) · 1.75 KB

File metadata and controls

58 lines (48 loc) · 1.75 KB
title SetDatabaseQueryTimeout Method (WMI MSReportServer_ConfigurationSetting) | Microsoft Docs
ms.custom
ms.date 03/01/2017
ms.prod sql-server-2016
ms.reviewer
ms.suite
ms.technology
reporting-services-sharepoint
reporting-services-native
ms.tgt_pltfrm
ms.topic article
apiname
SetDatabaseQueryTimeout (WMI MSReportServer_ConfigurationSetting Class)
apilocation
reportingservices.mof
apitype MOFDef
helpviewer_keywords
SetDatabaseQueryTimeout method
ms.assetid bd2809e5-7848-45b3-a502-b04fc698b646
caps.latest.revision 19
author guyinacube
ms.author asaxton
manager erikre
ms.workload Inactive

ConfigurationSetting Method - SetDatabaseQueryTimeout

Specifies the default time-out value for report server database queries.

Syntax

Public Sub SetDatabaseQueryTimeout(LogonTimeout as Int32, _  
    ByRef HRESULT as Int32)  
public void SetDatabaseQueryTimeout (Int32 LogonTimeout,   
    out Int32 HRESULT);  

Parameters

LogonTimeout
The default timeout value, in seconds, for report server database queries.

HRESULT
[out] Value indicating whether the call succeeded or failed.

Return Value

Returns an HRESULT indicating success or failure of the method call. A value of 0 indicates that the method call was successful. A non-zero value indicates that an error has occurred.

Requirements

Namespace: [!INCLUDEssRSWMInmspcA]

See Also

MSReportServer_ConfigurationSetting Members