Share via


SPContentDatabase.DoesSiteMasterExist method

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

Syntax

'Declaration
Public Function DoesSiteMasterExist ( _
    templateName As String, _
    language As UInteger, _
    compatibilityLevel As Integer _
) As Boolean
'Usage
Dim instance As SPContentDatabase
Dim templateName As String
Dim language As UInteger
Dim compatibilityLevel As Integer
Dim returnValue As Boolean

returnValue = instance.DoesSiteMasterExist(templateName, _
    language, compatibilityLevel)
public bool DoesSiteMasterExist(
    string templateName,
    uint language,
    int compatibilityLevel
)

Parameters

Return value

Type: System.Boolean

See also

Reference

SPContentDatabase class

SPContentDatabase members

Microsoft.SharePoint.Administration namespace