Partager via


ServerStub.ExcludeFromDefaultRetrieve - Méthode

Whether the property is excluded from the default retrieve.

When the user invokes clientObject.Retrieve() instead of clientObject.Retrieve("Prop1", "Prop2"), it is default retrieval. For some expensive property, for example, HasUniqueRoleAssignments(), we do not want to include it in the default retrieval.

Espace de noms :  Microsoft.SharePoint.Client
Assembly :  Microsoft.SharePoint.Client.ServerRuntime (dans Microsoft.SharePoint.Client.ServerRuntime.dll)

Syntaxe

'Déclaration
Protected Friend Overridable Function ExcludeFromDefaultRetrieve ( _
    propName As String _
) As Boolean
'Utilisation
Dim propName As String
Dim returnValue As Boolean

returnValue = Me.ExcludeFromDefaultRetrieve(propName)
protected internal virtual bool ExcludeFromDefaultRetrieve(
    string propName
)

Paramètres

Valeur renvoyée

Type : System.Boolean

Voir aussi

Référence

ServerStub classe

ServerStub - Membres

Microsoft.SharePoint.Client - Espace de noms