共用方式為


SPCmdlet.DisposeOutputObjects Property

Gets or sets a Boolean value that specifies whether the base class will dispose output objects after they have been outputted.

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

Syntax

'Declaration
Protected Property DisposeOutputObjects As Boolean
    Get
    Set
'Usage
Dim value As Boolean

value = Me.DisposeOutputObjects

Me.DisposeOutputObjects = value
protected bool DisposeOutputObjects { get; set; }

Property Value

Type: System.Boolean
Returns Booleantrue if the base class will dispose the output objects; otherwise, returns false. The default value is false.

See Also

Reference

SPCmdlet Class

SPCmdlet Members

Microsoft.SharePoint.PowerShell Namespace