共用方式為


AlterTableSwitchStatement.SourcePartitionNumber 屬性

Gets or sets the source partition number.

命名空間:  Microsoft.SqlServer.TransactSql.ScriptDom
組件:  Microsoft.SqlServer.TransactSql.ScriptDom (在 Microsoft.SqlServer.TransactSql.ScriptDom.dll 中)

語法

'宣告
Public Property SourcePartitionNumber As ScalarExpression 
    Get 
    Set
'用途
Dim instance As AlterTableSwitchStatement 
Dim value As ScalarExpression 

value = instance.SourcePartitionNumber

instance.SourcePartitionNumber = value
public ScalarExpression SourcePartitionNumber { get; set; }
public:
property ScalarExpression^ SourcePartitionNumber {
    ScalarExpression^ get ();
    void set (ScalarExpression^ value);
}
member SourcePartitionNumber : ScalarExpression with get, set
function get SourcePartitionNumber () : ScalarExpression 
function set SourcePartitionNumber (value : ScalarExpression)

屬性值

型別:Microsoft.SqlServer.TransactSql.ScriptDom.ScalarExpression
The source partition number.

請參閱

參考

AlterTableSwitchStatement 類別

Microsoft.SqlServer.TransactSql.ScriptDom 命名空間