Jegyzet
Az oldalhoz való hozzáférés engedélyezést igényel. Próbálhatod be jelentkezni vagy könyvtárat váltani.
Az oldalhoz való hozzáférés engedélyezést igényel. Megpróbálhatod a könyvtár váltását.
Creates a linear Transact-SQL script that is based on an array of URNs.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Function EnumScriptWithList ( _
urns As Urn() _
) As IEnumerable(Of String)
'Usage
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>
Parameters
- urns
Type: array<Microsoft.SqlServer.Management.Sdk.Sfc.Urn[]
An Urn array.
Return Value
Type: 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.
Remarks
The return value contains data if the ScriptData property has been set to True before this method is run.