다음을 통해 공유


ScriptHeader 메서드

Scripts the text header.

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

구문

‘선언
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 T:System.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