UserDefinedDataType.Rule Property


Gets or sets a SQL Server rule that is bound to the user-defined data type.

This API is not CLS-compliant.

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

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

Property Value

Type: System.String

A String value that specifies the bound rule.

Return to top