SPUtility.AddCellStoragePartition Method
Adds a new partition mapping for an application to execute cell storage operations.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Available in SharePoint Online
Syntax
'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)> _
Public Shared Sub AddCellStoragePartition ( _
database As SPContentDatabase, _
partitionId As String _
)
'Usage
Dim database As SPContentDatabase
Dim partitionId As StringSPUtility.AddCellStoragePartition(database, _
partitionId)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)]
public static void AddCellStoragePartition(
SPContentDatabase database,
string partitionId
)
Parameters
database
Type: Microsoft.SharePoint.Administration.SPContentDatabaseThe database where the partition should be created.
partitionId
Type: System.StringThe unique identifier for an application.
Remarks
This method requires Farm administrator privileges.