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
- sourceContentDatabase
Type: Microsoft.SharePoint.Administration.SPContentDatabase
- targetContentDatabase
Type: Microsoft.SharePoint.Administration.SPContentDatabase
Return value
Type: System.Boolean