SPContentDatabase.EnsureSiteMasterExists method

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub EnsureSiteMasterExists ( _
    templateName As String, _
    language As UInteger, _
    compatibilityLevel As Integer _
)
'Usage
Dim instance As SPContentDatabase
Dim templateName As String
Dim language As UInteger
Dim compatibilityLevel As Integer

instance.EnsureSiteMasterExists(templateName, _
    language, compatibilityLevel)
public void EnsureSiteMasterExists(
    string templateName,
    uint language,
    int compatibilityLevel
)

Parameters

See also

Reference

SPContentDatabase class

SPContentDatabase members

Microsoft.SharePoint.Administration namespace