다음을 통해 공유


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