Share via


ISmoScriptWriter.ScriptObject(IEnumerable<String>, Urn) Method

Definition

Called with the full set of script lines for an object.

public void ScriptObject(System.Collections.Generic.IEnumerable<string> script, Microsoft.SqlServer.Management.Sdk.Sfc.Urn obj);
abstract member ScriptObject : seq<string> * Microsoft.SqlServer.Management.Sdk.Sfc.Urn -> unit
Public Sub ScriptObject (script As IEnumerable(Of String), obj As Urn)

Parameters

script
IEnumerable<String>

Enumerable collection of string that contain scripts of database items.

obj
Urn

The <seealso cref="T:Microsoft.SqlServer.Management.Sdk.Sfc.Urn"></seealso> that identifies the object being scripted.

Applies to