SQL Server supports the following system stored procedures that allow OLE Automation objects to be used within a Transact-SQL batch. By default, SQL Server blocks access to OLE Automation stored procedures because this component is turned off as part of the security configuration for this server. A system administrator can enable access to OLE Automation procedures by using sp_configure. For more information, see Surface Area Configuration.
|sp_OAGetProperty||Object Hierarchy Syntax (Transact-SQL)|