Export (0) Print
Expand All

DefaultRuleBase.TextBody Property

Gets or sets the text that defines the default or rule.

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

[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone|SfcPropertyFlags.Matrix)]
public string TextBody { get; set; }

Property Value

Type: String
A String value that defines the default or rule.

Implements

ITextObject.TextBody

This is the equivalent of the constant_expression in the Transact-SQL CREATE DEFAULT statement and the condition_expression in the Transact-SQL CREATE RULE statement.

Community Additions

ADD
Show:
© 2014 Microsoft