Share via


Column.RuleSchema Property

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

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property RuleSchema As String
    Get
    Set
'Usage
Dim instance As Column
Dim value As String

value = instance.RuleSchema

instance.RuleSchema = value
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)]
public string RuleSchema { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)]
public:
property String^ RuleSchema {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
member RuleSchema : string with get, set
function get RuleSchema () : String
function set RuleSchema (value : String)

Property Value

Type: System.String
A String value that specifies the name of the rule schema that is bound to the column.

Remarks

Note

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