다음을 통해 공유


CloseServer (clsServer)

[!참고]   이 기능은 다음 버전의 Microsoft SQL Server에서 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 말고, 현재 이 기능을 사용하는 응용 프로그램은 가능한 한 빨리 수정하십시오.

The CloseServer method of an object of ClassType clsServer releases all server resources and sets the State property of the object to stateUnknown.

구문

dsoServer.CloseServer    

매개 변수

  • dsoServer
    The Decision Support Objects (DSO) server object to be closed.

The following example assumes that the server object exists and is connected to an Analysis server. The example closes a previously created connection:

dsoServer.CloseServer

참고 항목

참조

clsServer

도움말 및 정보

SQL Server 2005 지원 받기