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}']", 
	new string[] { ... })]
[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.ReadOnlyAfterCreation | SfcPropertyFlags.Standalone | SfcPropertyFlags.SqlAzureDatabase)]
public string Rule { get; set; }

Property Value

Type: System.String

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


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

Return to top