Метод UserDefinedFunction.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 UserDefinedFunction 
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)

Примеры

Создание скриптов

См. также

Справочник

UserDefinedFunction Класс

Пространство имен Microsoft.SqlServer.Management.Smo

Другие ресурсы

Определяемые пользователем функции (компонент Database Engine)

CREATE FUNCTION (Transact-SQL)