Share via


SPGetCmdletBase<TCmdletObject>.ParseLimit method

Sets the upper limit of objects in the result set, as reflected in the ResultSize property

Namespace:  Microsoft.SharePoint.PowerShell
Assembly:  Microsoft.SharePoint.PowerShell (in Microsoft.SharePoint.PowerShell.dll)

Syntax

'Declaration
Protected Function ParseLimit ( _
    limit As String _
) As UInteger
'Usage
Dim limit As String
Dim returnValue As UInteger

returnValue = Me.ParseLimit(limit)
protected uint ParseLimit(
    string limit
)

Parameters

  • limit
    Type: System.String

    String specifying the upper limit of objects in the result set. If "All" is specified, the method returns the maximum.

Return value

Type: System.UInt32
Returns UInt32 specifying the upper limit of objects in the result set.

See also

Reference

SPGetCmdletBase<TCmdletObject> class

SPGetCmdletBase<TCmdletObject> members

Microsoft.SharePoint.PowerShell namespace