NumberedStoredProcedure.ScriptHeader 메서드

Returns the text header with the option to modify the text.

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

구문

‘선언
Public Function ScriptHeader ( _
    forAlter As Boolean _
) As String
‘사용 방법
Dim instance As NumberedStoredProcedure 
Dim forAlter As Boolean 
Dim returnValue As String 

returnValue = instance.ScriptHeader(forAlter)
public string ScriptHeader(
    bool forAlter
)
public:
virtual String^ ScriptHeader(
    bool forAlter
) sealed
abstract ScriptHeader : 
        forAlter:bool -> string  
override ScriptHeader : 
        forAlter:bool -> string
public final function ScriptHeader(
    forAlter : boolean
) : String

매개 변수

  • forAlter
    유형: System.Boolean
    A Boolean value that specifies whether to create an alter script or a creation script.If True, an alter script is generated.If False, a creation script is generated.

반환 값

유형: System.String
A StringContaining the text header with the option to modify the text.

구현

ITextObject.ScriptHeader(Boolean)

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

참고 항목

참조

NumberedStoredProcedure 클래스

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

관련 자료

CREATE PROCEDURE(Transact-SQL)