ITextObject.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
A String that specifies the text header.