SPVssComponentDefinition 构造函数 (Guid, String, String, String, String)

SPVssComponentDefinition类的新实例进行初始化。

命名空间:  Microsoft.SharePoint.Administration.Backup
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Sub New ( _
    id As Guid, _
    server As String, _
    path As String, _
    name As String, _
    description As String _
)
用法
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
)

参数

  • id
    类型:System.Guid

    Guid的内容的组件依赖的 VSS 编写器的 ID。

  • server
    类型:System.String

    非数据库内容组件所在的服务器。

  • path
    类型:System.String

    报告对 SharePoint VSS 编写器服务的组件的路径。

  • name
    类型:System.String

    报告对 SharePoint VSS 编写器服务组件的名称。

  • description
    类型:System.String

    报告到 SharePoint VSS 编写器服务的组件的说明。

备注

如果在所有前端 Web 服务器上重复的内容组件, server可以是任何任意的前端 Web 服务器的名称。恢复该组件的代码需要还原到所有前端 Web 服务器。如果这是不可能的必须与自己SPVssComponentDefinition对象,表示组件的每台服务器的副本。

另请参阅

引用

SPVssComponentDefinition 类

SPVssComponentDefinition 成员

SPVssComponentDefinition 重载

Microsoft.SharePoint.Administration.Backup 命名空间

其他资源

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