Share via


PartitionFunctionCollection.Item Property (String)

Gets a PartitionFunction object in the collection by name.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    name As String _
) As PartitionFunction 
    Get
'Usage
Dim instance As PartitionFunctionCollection 
Dim name As String 
Dim value As PartitionFunction 

value = instance(name)
public PartitionFunction this[
    string name
] { get; }
public:
property PartitionFunction^ default[String^ name] {
    PartitionFunction^ get (String^ name);
}
member Item : PartitionFunction
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

Type: Microsoft.SqlServer.Management.Smo.PartitionFunction
A PartitionFunction object value that represents the partition function.

Examples

Using Collections

See Also

Reference

PartitionFunctionCollection Class

Item Overload

Microsoft.SqlServer.Management.Smo Namespace