AlterTableSwitchStatement.TargetPartitionNumber Property

Gets or sets the target partition number.

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

Syntax

'Declaration
Public Property TargetPartitionNumber As ScalarExpression 
    Get 
    Set
'Usage
Dim instance As AlterTableSwitchStatement 
Dim value As ScalarExpression 

value = instance.TargetPartitionNumber

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

Property Value

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

See Also

Reference

AlterTableSwitchStatement Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace