Scripter.Script 方法

包括受保护的成员
包括继承的成员

Generates Transact-SQL scripts that can be used to re-create a list of objects.

此成员被重载。有关此成员的完整信息,包括语法、用法和示例,请单击重载列表中的名称。

重载列表

  名称 说明
公共方法 Script(array<SqlSmoObject[]) Generates Transact-SQL scripts that can be used to re-create a list of objects.
公共方法 Script(array<Urn[]) Creates a Transact-SQL script for a set of objects that are specified with an array of Urn objects.
公共方法 Script(UrnCollection) Creates a Transact-SQL script for a set of objects that are specified with a Urn object collection.

页首

请参阅

参考

Scripter 类

Microsoft.SqlServer.Management.Smo 命名空间