共用方式為


SPDatabaseSnapshotCollection.IsSnapshotSupported Property

Gets a value that specifies whether database snapshots are supported by the current edition of Microsoft SQL Server being used for the database.

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

Syntax

'Declaration
Public ReadOnly Property IsSnapshotSupported As Boolean
    Get
'Usage
Dim instance As SPDatabaseSnapshotCollection
Dim value As Boolean

value = instance.IsSnapshotSupported
public bool IsSnapshotSupported { get; }

Property Value

Type: System.Boolean
true if the version of Microsoft SQL Server supports database snapshots; otherwise false.

Remarks

For more information about database snapshot support in Microsoft SQL Server, see Database Snapshots.

Microsoft SharePoint Server will try to create or read database snapshots even if this property is false.

See Also

Reference

SPDatabaseSnapshotCollection Class

SPDatabaseSnapshotCollection Members

Microsoft.SharePoint.Administration.Backup Namespace