次の方法で共有


Timeout (clsServer)

ms133878.note(ja-jp,SQL.90).gifメモ :
  この機能は、Microsoft SQL Server の次のバージョンで削除されます。新規の開発作業ではこの機能を使用しないようにし、現在この機能を使用しているアプリケーションはできるだけ早く修正してください。

The Timeout property of an object of ClassType clsServer sets or returns the maximum amount of time between reports from the Analysis server before the server is considered to have timed out.

Data Type

Long

Access

Read/write

解説

The default value is 3600 seconds (1 hour). Under some conditions, the server may encounter long wait times, for example, during the processing of large cubes or during queries to a source database. If you experience timeout errors under such conditions, you can increase the default value. The maximum allowed value is one million (1,000,000) seconds. This is approximately 11 days and 14 hours. To have the server wait indefinitely, set the Timeout property to zero (0).

使用例

Use the following code to set the Timeout property for a server. You must call the Update method for your changes to take effect.

Dim dsoS As New DSO.Server

' Connect to the local Analysis server.
dsoServer.Connect "LocalHost"

' Set the timeout to 4 hours.
dsoServer.Timeout = 14400
' Update the Analysis server.
dsoServer.Update

' Close the connection to the Analysis server.
dsoServer.CloseServer
 

参照

関連項目

clsServer
Update (clsServer)

ヘルプおよび情報

SQL Server 2005 の参考資料の入手