Ole Automation Procedures 서버 구성 옵션
옵션을 Ole Automation Procedures
사용하여 Transact-SQL 일괄 처리 내에서 OLE Automation 개체를 인스턴스화할 수 있는지 여부를 지정합니다. 이 옵션은 정책 기반 관리 또는 sp_configure 저장 프로시저를 사용하여 구성할 수도 있습니다. 자세한 내용은 Surface Area Configuration을 참조하세요.
Ole Automation Procedures
옵션을 다음 값으로 설정할 수 있습니다.
0
OLE Automation Procedures가 해제되어 있습니다. SQL Server의 새 인스턴스에 대한 기본값입니다.
1
OLE Automation Procedures가 설정되어 있습니다.
OLE Automation Procedures가 설정되어 있는 경우 sp_OACreate 를 호출하면 OLE 공유 실행 환경이 시작됩니다.
옵션의 Ole Automation Procedures
현재 값은 sp_configure 시스템 저장 프로시저를 사용하여 보고 변경할 수 있습니다.
예제
다음 예에서는 OLE Automation procedures의 현재 설정을 보는 방법을 보여 줍니다.
EXEC sp_configure 'Ole Automation Procedures';
GO
다음 예에서는 OLE Automation procedures를 설정하는 방법을 보여 줍니다.
sp_configure 'show advanced options', 1;
GO
RECONFIGURE;
GO
sp_configure 'Ole Automation Procedures', 1;
GO
RECONFIGURE;
GO
참고 항목
sp_configure(Transact-SQL)
RECONFIGURE(Transact-SQL)
노출 영역 구성
서버 구성 옵션(SQL Server)