ListBoundDatatypes Method
Microsoft SQL Server의 이후 버전에서는 이 기능이 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 않도록 하고, 현재 이 기능을 사용하는 응용 프로그램은 수정하십시오.
The ListBoundDatatypes method returns a SQLObjectList object that enumerates the user-defined data types to which a rule, or default, is bound.
구문
object
.ListBoundDatatypes(
)
as
SQLObjectList
Parts
- object
Expression that evaluates to an object in the Applies To list.
Prototype (C/C++)
HRESULT ListBoundDatatypes(
LPSQLDMOUSERDEFINEDDATATYPELIST* ppList);
Returns
A SQLObjectList object that contains 0 or more UserDefinedDatatype objects.
주의
A SQL Server default or rule cannot be dropped when bound to a SQL Server object.
For the Default or Rule object, you can use the ListBoundDatatypes method to enumerate user-defined data type bound, and then use the Name property of UserDefinedDatatype objects returned and the UnbindFromDatatype method of the object to remove bindings.
A SQL Server default or rule can be bound to a column. Use the ListBoundColumns and UnbindFromColumn method to remove bindings on a column.