AlterTableSwitchStatement.SourcePartitionNumber Property

Gets or sets the source partition number.

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
Public Property SourcePartitionNumber As ScalarExpression 
    Get 
    Set
'Usage
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)

Property Value

Type: Microsoft.SqlServer.TransactSql.ScriptDom.ScalarExpression
The source partition number.

See Also

Reference

AlterTableSwitchStatement Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace