Share via


SPBackupRestoreInformation.ObjectGroup property

Gets or sets a name for a group of objects that can be backed up so that they do not have to be individually listed in a UI as selectable items for a backup or restore operation.

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

Syntax

'Declaration
Public Property ObjectGroup As String
    Get
    Set
'Usage
Dim instance As SPBackupRestoreInformation
Dim value As String

value = instance.ObjectGroup

instance.ObjectGroup = value
public string ObjectGroup { get; set; }

Property value

Type: System.String
The name of the group.

Remarks

This is a helper property for UI designers. This name can be used as a single selectable item in a UI. For example, set the property to “Timer Jobs” and have it appear in your UI instead of listing each timer job as a separate item.

See also

Reference

SPBackupRestoreInformation class

SPBackupRestoreInformation members

Microsoft.SharePoint.Administration.Backup namespace