Share via


SPDatabaseSnapshot.Name property

Gets the name of the Microsoft SQL Server database snapshot.

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

Syntax

'Declaration
Public ReadOnly Property Name As String
    Get
'Usage
Dim instance As SPDatabaseSnapshot
Dim value As String

value = instance.Name
public string Name { get; }

Property value

Type: System.String
The name of the database snapshot.

Remarks

Database snapshot names match the following pattern.

DatabaseName_yyyymmdd_hhmmss_UTCSubsecond

- where the date and time values are UTC. The following is an example.

SFContent1_20090510_121234_8736592

See also

Reference

SPDatabaseSnapshot class

SPDatabaseSnapshot members

Microsoft.SharePoint.Administration.Backup namespace