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