Share via


SPGetCmdletBase<TCmdletObject>.DataObject Property

Specifies the object that a Get cmdlet will return if the result set consists of only a single data object. The default is a null reference (Nothing in Visual Basic).

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

Syntax

'Declaration
Protected Property DataObject As TCmdletObject
    Get
    Set
'Usage
Dim value As TCmdletObject

value = Me.DataObject

Me.DataObject = value
protected TCmdletObject DataObject { get; set; }

Property Value

Type: TCmdletObject

Remarks

Although the default value is a null reference (Nothing in Visual Basic), the cmdlet needs to set the value of this property before using it.

See Also

Reference

SPGetCmdletBase<TCmdletObject> Class

SPGetCmdletBase<TCmdletObject> Members

Microsoft.SharePoint.PowerShell Namespace