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 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.