Share via


DefaultRuleBase.EnumBoundColumns Method

Enumerates a list of columns 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 EnumBoundColumns As SqlSmoObject()
'Usage
Dim instance As DefaultRuleBase 
Dim returnValue As SqlSmoObject()

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

Return Value

Type: array<Microsoft.SqlServer.Management.Smo.SqlSmoObject[]
An array of SqlSmoObject objects that specify the columns 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