共用方式為


ScriptOption.DdlHeaderOnly 屬性

Gets an object value that specifies whether to script only the header information for data definition language (DDL) objects that have a text body, such as stored procedures and triggers.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Shared ReadOnly Property DdlHeaderOnly As ScriptOption 
    Get
'用途
Dim value As ScriptOption 

value = ScriptOption.DdlHeaderOnly
public static ScriptOption DdlHeaderOnly { get; }
public:
static property ScriptOption^ DdlHeaderOnly {
    ScriptOption^ get ();
}
static member DdlHeaderOnly : ScriptOption
static function get DdlHeaderOnly () : ScriptOption

屬性值

型別:Microsoft.SqlServer.Management.Smo.ScriptOption
A ScriptOption object that represents the DdlHeaderOnlyin the scripting options.

範例

指令碼

請參閱

參考

ScriptOption 類別

Microsoft.SqlServer.Management.Smo 命名空間