TextBody propriété
Gets or sets the Transact-SQL string that defines the view.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Expensive)> _
Public Property TextBody As String
Get
Set
'Utilisation
Dim instance As View
Dim value As String
value = instance.TextBody
instance.TextBody = value
[SfcPropertyAttribute(SfcPropertyFlags.Expensive)]
public string TextBody { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Expensive)]
public:
virtual property String^ TextBody {
String^ get () sealed;
void set (String^ value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.Expensive)>]
abstract TextBody : string with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.Expensive)>]
override TextBody : string with get, set
final function get TextBody () : String
final function set TextBody (value : String)
Valeur de la propriété
Type : System. . :: . .String
A String value that specifies the Transact-SQL definition of the view.
Implémente
Voir aussi