Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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}']", 
	)]
[CLSCompliantAttribute(false)]
public string Rule { get; set; }

Property Value

Type: System.String
A String value that specifies the bound rule.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.