Share via


DefaultRuleBase.EnumBoundDataTypes Method

Enumerates a list of data types to which the default or rule is bound.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Function EnumBoundDataTypes As SqlSmoObject()
'Usage
Dim instance As DefaultRuleBase 
Dim returnValue As SqlSmoObject()

returnValue = instance.EnumBoundDataTypes()
public SqlSmoObject[] EnumBoundDataTypes()
public:
array<SqlSmoObject^>^ EnumBoundDataTypes()
member EnumBoundDataTypes : unit -> SqlSmoObject[] 
public function EnumBoundDataTypes() : SqlSmoObject[]

Return Value

Type: array<Microsoft.SqlServer.Management.Smo.SqlSmoObject[]
An array of SqlSmoObject objects that specify the data types to which the default or rule is bound.

Examples

Creating, Altering, and Removing Defaults

Creating, Altering, and Removing Rules

See Also

Reference

DefaultRuleBase Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Working with Database Objects

Rules

Defaults