NumberedStoredProcedure.TextBody-Eigenschaft
Gets or sets the Transact-SQL string that defines the stored procedure.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Expensive Or SfcPropertyFlags.Standalone)> _
Public Property TextBody As String
Get
Set
'Usage
Dim instance As NumberedStoredProcedure
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)
Eigenschaftswert
Typ: System.String
A String value that specifies the Transact-SQL string that defines the numbered stored procedure.
Implementiert
Beispiele
Erstellen, Ändern und Löschen von gespeicherten Prozeduren
Siehe auch
Verweis
NumberedStoredProcedure Klasse
Microsoft.SqlServer.Management.Smo-Namespace