다음을 통해 공유


ScriptHeader 메서드

Scripts the text header.

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

구문

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

returnValue = instance.ScriptHeader(forAlter)
string ScriptHeader(
    bool forAlter
)
String^ ScriptHeader(
    bool forAlter
)
abstract ScriptHeader : 
        forAlter:bool -> string 
function ScriptHeader(
    forAlter : boolean
) : String

매개 변수

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

반환 값

유형: System. . :: . .String
Returns String that specifies the text header.