Share via


PartitionFunctionParameter.Length Property

Gets or sets the length of the parameter in bytes.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.Design)> _
Public Property Length As Integer 
    Get 
    Set
'Usage
Dim instance As PartitionFunctionParameter 
Dim value As Integer 

value = instance.Length

instance.Length = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.Design)]
public int Length { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::Design)]
public:
property int Length {
    int get ();
    void set (int value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.Design)>]
member Length : int with get, set
function get Length () : int 
function set Length (value : int)

Property Value

Type: System.Int32
An Int32 that specifies the length of the parameter in bytes.

Examples

Using Filegroups and Files to Store Data

See Also

Reference

PartitionFunctionParameter Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

CREATE PARTITION FUNCTION (Transact-SQL)