Share via


SPExportSettings.UnattachedContentDatabase property

Gets or sets the unattached content database.

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

Syntax

'Declaration
Public Property UnattachedContentDatabase As SPContentDatabase
    Get
    Set
'Usage
Dim instance As SPExportSettings
Dim value As SPContentDatabase

value = instance.UnattachedContentDatabase

instance.UnattachedContentDatabase = value
public SPContentDatabase UnattachedContentDatabase { get; set; }

Property value

Type: Microsoft.SharePoint.Administration.SPContentDatabase
SPContentDatabase is an unattached content database.

Remarks

To be used only in cases where SPContentDatabase.CreateUnattachedContentDatabase is used to create the content database.

See also

Reference

SPExportSettings class

SPExportSettings members

Microsoft.SharePoint.Deployment namespace