共用方式為


EnumScript 方法

Returns an IEnumerable<string> object that has the script for the passed objects

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Function EnumScript As IEnumerable(Of String)
'用途
Dim instance As Table
Dim returnValue As IEnumerable(Of String)

returnValue = instance.EnumScript()
public IEnumerable<string> EnumScript()
public:
IEnumerable<String^>^ EnumScript()
member EnumScript : unit -> IEnumerable<string> 
public function EnumScript() : IEnumerable<String>

傳回值

型別:System.Collections.Generic. . :: . .IEnumerable< (Of < ( <'String> ) > ) >
[T:System.Collections.Generic.IEnumerable<T>] Interface.

備註

The interface that is returned contains the script for the schema only.