Skip to content

Latest commit

 

History

History
52 lines (40 loc) · 1.62 KB

File metadata and controls

52 lines (40 loc) · 1.62 KB
title SetDatabaseQueryTimeout Method (WMI MSReportServer_ConfigurationSetting) | Microsoft Docs
ms.date 03/01/2017
ms.prod reporting-services
ms.prod_service reporting-services-native
ms.technology wmi-provider-library-reference
ms.topic conceptual
apiname
SetDatabaseQueryTimeout (WMI MSReportServer_ConfigurationSetting Class)
apilocation
reportingservices.mof
apitype MOFDef
helpviewer_keywords
SetDatabaseQueryTimeout method
ms.assetid bd2809e5-7848-45b3-a502-b04fc698b646
author maggiesMSFT
ms.author maggies

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