SPVssComponentDefinition constructor (Guid, String, String, String, String)
Initializes a new instance of the SPVssComponentDefinition class.
Namespace: Microsoft.SharePoint.Administration.Backup
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub New ( _
id As Guid, _
server As String, _
path As String, _
name As String, _
description As String _
)
'Usage
Dim id As Guid
Dim server As String
Dim path As String
Dim name As String
Dim description As String
Dim instance As New SPVssComponentDefinition(id, server, _
path, name, description)
public SPVssComponentDefinition(
Guid id,
string server,
string path,
string name,
string description
)
Parameters
id
Type: System.GuidThe Guid ID of the VSS Writer on which the content component depends.
server
Type: System.StringThe server where the non-database content component is located.
path
Type: System.StringThe path to the component that is reported to the SharePoint VSS Writer service.
name
Type: System.StringThe name of the component that is reported to the SharePoint VSS Writer service.
description
Type: System.StringThe description of the component that is reported to the SharePoint VSS Writer service.
Remarks
If the content component is duplicated on all front-end Web servers, then server can be the name of any arbitrary front-end Web server. The code that restores the component needs to restore to all front-end Web servers. If that is not possible, then each server's copy of the component must be represented with its own SPVssComponentDefinition object.
See also
Reference
SPVssComponentDefinition class
SPVssComponentDefinition members
SPVssComponentDefinition overload
Microsoft.SharePoint.Administration.Backup namespace
Other resources
SharePoint Foundation and the Volume Shadow Copy Service
How Volume Shadow Copy Service Works
Starting and Configuring the WSS Writer Service
Volume Shadow Copy Service Technical Reference