共用方式為


ScriptOption.IncludeHeaders 屬性

Gets an object that specifies whether the generated script is prefixed with a header containing information including the date and time of generation.

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

語法

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

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

屬性值

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

範例

指令碼

請參閱

參考

ScriptOption 類別

Microsoft.SqlServer.Management.Smo 命名空間