Table.EnumScript Method
Returns an IEnumerable<string> object that has the script for the passed objects
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Function EnumScript As IEnumerable(Of String)
'Usage
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>
Return Value
Type: System.Collections.Generic.IEnumerable<String>
[T:System.Collections.Generic.IEnumerable<T>] Interface.
Remarks
The interface that is returned contains the script for the schema only.
See Also