Share via


SPContentDatabase.AreContentDatabasesCompatibleForCopy method

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

Syntax

'Declaration
Public Shared Function AreContentDatabasesCompatibleForCopy ( _
    sourceContentDatabase As SPContentDatabase, _
    targetContentDatabase As SPContentDatabase _
) As Boolean
'Usage
Dim sourceContentDatabase As SPContentDatabase
Dim targetContentDatabase As SPContentDatabase
Dim returnValue As Boolean

returnValue = SPContentDatabase.AreContentDatabasesCompatibleForCopy(sourceContentDatabase, _
    targetContentDatabase)
public static bool AreContentDatabasesCompatibleForCopy(
    SPContentDatabase sourceContentDatabase,
    SPContentDatabase targetContentDatabase
)

Parameters

Return value

Type: System.Boolean

See also

Reference

SPContentDatabase class

SPContentDatabase members

Microsoft.SharePoint.Administration namespace