ISmoScriptWriter 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
定義撰寫 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) |
呼叫時會使用物件的完整腳本行。 |