語言

ISmoScriptWriter 介面

定義

定義撰寫 SQL Server 管理物件腳本的介面

public interface ISmoScriptWriter
type ISmoScriptWriter = interface
Public Interface ISmoScriptWriter

屬性

名稱 Description
Header

腳本開頭插入的標頭字串

方法

名稱 Description
ScriptContext(String, Urn)

會寫一個字串來指定要用腳本化的資料庫。 資料庫上下文相當於資料庫腳本中的 USE [Database] 段。

ScriptData(IEnumerable<String>, Urn)

撰寫資料表項目的資料腳本。

ScriptObject(IEnumerable<String>, Urn)

呼叫時會使用物件的完整腳本行。

適用於