Property Object

后续版本的 Microsoft SQL Server 将删除该功能。请避免在新的开发工作中使用该功能,并着手修改当前还在使用该功能的应用程序。

The Property object exposes the attributes of a SQL Distributed Management Objects (SQL-DMO) object property.

显示当前对象的 SQL-DMO 对象模型

Properties

Get Property

Type Property (Property)

Name Property

Value Property

Set Property

 

备注

Object properties implement instance data for OLE objects. SQL-DMO is implemented as a dual-interface object library. Its objects are exposed as OLE Automated objects and as COM objects, enabling you to use either an OLE Automation Controller or a C/C++ compiler as an application development platform.

OLE Automation controllers, such as Microsoft Visual Basic, typically enrich the development experience by providing syntax completion and other development aids. Because it exposes the attributes of object properties, the Property object is a central component of automated developer assistance.

ms136247.note(zh-cn,SQL.90).gif注意:
The Property object is implemented for OLE Automation controllers. The C/C++ SQL-DMO application has no direct access to the Property object.