StoredProcedure.TextBody 속성

Gets or sets the Transact-SQL string that defines the stored procedure.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Expensive Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design)> _
Public Property TextBody As String 
    Get 
    Set
‘사용 방법
Dim instance As StoredProcedure 
Dim value As String 

value = instance.TextBody

instance.TextBody = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)]
public string TextBody { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Expensive|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Design)]
public:
virtual property String^ TextBody {
    String^ get () sealed;
    void set (String^ value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)>]
abstract TextBody : string with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)>]
override TextBody : string with get, set
final function get TextBody () : String 
final function set TextBody (value : String)

속성 값

유형: System.String
A String value that specifies the Transact-SQL string that defines the stored procedure.

구현

ITextObject.TextBody

저장 프로시저 생성, 변경 및 제거

참고 항목

참조

StoredProcedure 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스

관련 자료

CREATE PROCEDURE(Transact-SQL)