EntityCollection.Create Method (String, Boolean, UInt32)
Creates an Entity object with an additional estimatedInstanceCount parameter.
Namespace: Microsoft.Office.Server.ApplicationRegistry.Administration
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Public Function Create ( _
name As String, _
isCached As Boolean, _
estimatedInstanceCount As UInteger _
) As Entity
'Usage
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
)
Parameters
- name
Type: System.String
The name of the entity.
- isCached
Type: System.Boolean
true if cached; otherwise, false.
- estimatedInstanceCount
Type: System.UInt32
An optional parameter that specifies the estimated instance count for the entity.
Return Value
Type: Microsoft.Office.Server.ApplicationRegistry.Administration.Entity
An Entity object.
See Also
Reference
Microsoft.Office.Server.ApplicationRegistry.Administration Namespace