다음을 통해 공유


SPVssComponentDefinition Constructor (Guid, String, 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, _
    dependencyPath As String _
)
'Usage
Dim id As Guid
Dim server As String
Dim path As String
Dim name As String
Dim description As String
Dim dependencyPath As String

Dim instance As New SPVssComponentDefinition(id, server, _
    path, name, description, dependencyPath)
public SPVssComponentDefinition(
    Guid id,
    string server,
    string path,
    string name,
    string description,
    string dependencyPath
)

Parameters

  • id
    Type: System.Guid

    The Guid ID of the VSS Writer on which the content component depends.

  • server
    Type: System.String

    The server where the non-database content component is located.

  • path
    Type: System.String

    The path to the component that is reported to the SharePoint VSS Writer service.

  • name
    Type: System.String

    The name of the component that is reported to the SharePoint VSS Writer service.

  • description
    Type: System.String

    The description of the component that is reported to the SharePoint VSS Writer service.

  • dependencyPath
    Type: System.String

    The path of the writer identified with id.

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