Partager via


EntityCollection.Create, méthode (String, Boolean, UInt32) (Microsoft.Office.Server.ApplicationRegistry.Administration)

Creates an Entity object with an additional estimatedInstanceCount parameter.

Espace de noms : Microsoft.Office.Server.ApplicationRegistry.Administration
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)

Syntaxe

'Déclaration
Public Function Create ( _
    name As String, _
    isCached As Boolean, _
    estimatedInstanceCount As UInteger _
) As Entity
'Utilisation
Dim instance As EntityCollection
Dim name As String
Dim isCached As Boolean
Dim estimatedInstanceCount As UInteger
Dim returnValue As Entity

returnValue = instance.Create(name, isCached, estimatedInstanceCount)
public Entity Create (
    string name,
    bool isCached,
    uint estimatedInstanceCount
)

Paramètres

  • name
    The name of the entity.
  • isCached
    true if cached; otherwise, false.
  • estimatedInstanceCount
    An optional parameter that specifies the estimated instance count for the entity.

Valeur de retour

An Entity object.

Voir aussi

Référence

EntityCollection, classe
Membres EntityCollection
Microsoft.Office.Server.ApplicationRegistry.Administration, espace de noms