SPCmdletPipeBind<TCmdletObject>.Discover method

Populates information that is required to retrieve or recreate a given object instance.

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Protected MustOverride Sub Discover ( _
    instance As TCmdletObject _
)
'Usage
Dim instance As TCmdletObject

Me.Discover(instance)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
protected abstract void Discover(
    TCmdletObject instance
)

Parameters

  • instance
    Type: TCmdletObject

    The object instance whose information is to be populated.

Remarks

This is an abstract method. All derived classes should override this method and provide their own implementation. You must populate the information that is required to retrieve or recreate the object instance.

See also

Reference

SPCmdletPipeBind<TCmdletObject> class

SPCmdletPipeBind<TCmdletObject> members

Microsoft.SharePoint.PowerShell namespace