TechNet
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.SqlAzureDatabase)]
public string TextBody { get; set; }

Property Value

Type: System.String

A String value that defines the default or rule.

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.

Return to top
Show:
© 2016 Microsoft