ScriptHeader 메서드

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

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

구문

‘선언
Public Function ScriptHeader ( _
    forAlter As Boolean _
) As String
‘사용 방법
Dim instance As View
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 the text header is read-only or can be modified.
    If True, the text header can be modified.
    If False, the text header is read-only.

반환 값

형식: System. . :: . .String
A String value that specifies the text header.

구현

ITextObject. . :: . .ScriptHeader(Boolean)