Generates a Transact-SQL script that can be used to re-create the table.
备注
仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。
重载列表
| 名称 | Description | 
|---|---|
| TableViewBase.Script () | 
Generates a Transact-SQL script that can be used to re-create the table.
 | 
| TableViewBase.Script (ScriptingOptions) | 
Generates a Transact-SQL script that can be used to re-create the table as specified by the script options.
 | 
请参阅
参考
TableViewBase Class
TableViewBase Members
Microsoft.SqlServer.Management.Smo Namespace
其他资源
Scripting
Working with Database Objects
表
视图(数据库引擎)
CREATE TABLE (Transact-SQL)
CREATE VIEW (Transact-SQL)