다음을 통해 공유


Scripter.EnumScriptWithList 메서드 (array<Urn )

Creates a linear Transact-SQL script that is based on an array of URNs.

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

구문

‘선언
Public Function EnumScriptWithList ( _
    urns As Urn() _
) As IEnumerable(Of String)
‘사용 방법
Dim instance As Scripter 
Dim urns As Urn()
Dim returnValue As IEnumerable(Of String)

returnValue = instance.EnumScriptWithList(urns)
public IEnumerable<string> EnumScriptWithList(
    Urn[] urns
)
public:
IEnumerable<String^>^ EnumScriptWithList(
    array<Urn^>^ urns
)
member EnumScriptWithList : 
        urns:Urn[] -> IEnumerable<string> 
public function EnumScriptWithList(
    urns : Urn[]
) : IEnumerable<String>

매개 변수

반환 값

유형: System.Collections.Generic.IEnumerable<String>
An IEnumerable interface that exposes an enumerator that supports a simple iteration over a script. This script contains Urn objects and the DependencyCollection for each of those URNs.

주의

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

참고 항목

참조

Scripter 클래스

EnumScriptWithList 오버로드

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