共用方式為


ScriptOption.ClusteredIndexes 屬性

Gets an object that specifies whether statements that define clustered indexes are included in the generated script.

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

語法

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

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

屬性值

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

範例

指令碼

請參閱

參考

ScriptOption 類別

Microsoft.SqlServer.Management.Smo 命名空間