DefaultRuleBase.TextBody Propiedad
Gets or sets the text that defines the default or rule.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Expensive Or SfcPropertyFlags.Standalone)> _
Public Property TextBody As String
Get
Set
'Uso
Dim instance As DefaultRuleBase
Dim value As String
value = instance.TextBody
instance.TextBody = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone)]
public string TextBody { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Expensive|SfcPropertyFlags::Standalone)]
public:
virtual property String^ TextBody {
String^ get () sealed;
void set (String^ value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone)>]
abstract TextBody : string with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone)>]
override TextBody : string with get, set
final function get TextBody () : String
final function set TextBody (value : String)
Valor de la propiedad
Tipo: System.String
A String value that defines the default or rule.
Implementa
Comentarios
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.
Ejemplos
Crear, modificar y eliminar valores predeterminados
Crear, modificar y quitar reglas
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Management.Smo