GetTextHeader 方法

Returns the text header.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Protected Function GetTextHeader ( _
    forAlter As Boolean _
) As String
用法
Dim forAlter As Boolean
Dim returnValue As String

returnValue = Me.GetTextHeader(forAlter)
protected string GetTextHeader(
    bool forAlter
)
protected:
String^ GetTextHeader(
    bool forAlter
)
member GetTextHeader : 
        forAlter:bool -> string 
protected function GetTextHeader(
    forAlter : boolean
) : String

参数

  • forAlter
    类型:System. . :: . .Boolean
    A Boolean value that specifies whether the text header is used in the alteration of an object.
    If True, the text header is used in the alteration of an object. Otherwise, False.

返回值

类型:System. . :: . .String
A String value that specifies the text header.

示例

脚本撰写