NumberedStoredProcedure.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 NumberedStoredProcedure
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 to create an alter script or a creation script.If True, an alter script is generated.If False, a creation script is generated.
返回值
类型:System.String
A StringContaining the text header with the option to modify the text.
实现
ITextObject.ScriptHeader(Boolean)
示例
请参阅
参考
Microsoft.SqlServer.Management.Smo 命名空间