Export (0) Print
Expand All

Column.Rule Property

Gets or sets the rule that is bound to the column.

This API is not CLS-compliant. 

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

[SfcReferenceAttribute(typeof(Rule), "Server[@Name = '{0}']/Database[@Name = '{1}']/Rule[@Name='{2}' and @Schema='{3}']", 
	)]
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Matrix)]
[CLSCompliantAttribute(false)]
public string Rule { get; set; }

Property Value

Type: String
A String value that specifies the rule that is bound to the column.

NoteNote

The value of the Rule property is always treated as an empty string by columns based on the UserDefinedTableType object.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft