다음을 통해 공유


Scripter.EnumScript 메서드 (array<SqlSmoObject )

Returns an IEnumerable<script> object that contains a script.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public Function EnumScript ( _
    objects As SqlSmoObject() _
) As IEnumerable(Of String)
‘사용 방법
Dim instance As Scripter 
Dim objects As SqlSmoObject()
Dim returnValue As IEnumerable(Of String)

returnValue = instance.EnumScript(objects)
public IEnumerable<string> EnumScript(
    SqlSmoObject[] objects
)
public:
IEnumerable<String^>^ EnumScript(
    array<SqlSmoObject^>^ objects
)
member EnumScript : 
        objects:SqlSmoObject[] -> IEnumerable<string> 
public function EnumScript(
    objects : SqlSmoObject[]
) : IEnumerable<String>

매개 변수

반환 값

유형: System.Collections.Generic.IEnumerable<String>
An IEnumerable interface that exposes an enumerator that supports a simple iteration over the script. The script contains the objects in the array of SqlSmoObject and the corresponding Urn.

주의

The return value contains data if the ScriptData property has been set to True before this method is run.

참고 항목

참조

Scripter 클래스

EnumScript 오버로드

Microsoft.SqlServer.Management.Smo 네임스페이스