Share via


SPCmdlet.AssignmentCollection property

Gets or sets the SPAssignmentCollection object that is passed through the cmdlet pipelines for use by the final command.

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

Syntax

'Declaration
<ParameterAttribute(Mandatory := False, ValueFromPipeline := True)> _
Public Property AssignmentCollection As SPAssignmentCollection
    Get
    Set
'Usage
Dim instance As SPCmdlet
Dim value As SPAssignmentCollection

value = instance.AssignmentCollection

instance.AssignmentCollection = value
[ParameterAttribute(Mandatory = false, ValueFromPipeline = true)]
public SPAssignmentCollection AssignmentCollection { get; set; }

Property value

Type: Microsoft.SharePoint.PowerShell.SPAssignmentCollection
Returns SPAssignmentCollection.

See also

Reference

SPCmdlet class

SPCmdlet members

Microsoft.SharePoint.PowerShell namespace