共用方式為


SPVssDiscoveryHelper class

可讓非資料庫至磁碟區陰影服務會受到內容元件的自訂類型。

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Administration.SPPersistedObject
      Microsoft.SharePoint.Administration.Backup.SPVssDiscoveryHelper

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

Syntax

'宣告
<ObfuscationAttribute(Exclude := True, Feature := "renaming", StripAfterObfuscation := True)> _
<GuidAttribute("90D39685-EA0E-47a9-8924-F95CA6B84A61")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class SPVssDiscoveryHelper _
    Inherits SPPersistedObject
'用途
Dim instance As SPVssDiscoveryHelper
[ObfuscationAttribute(Exclude = true, Feature = "renaming", StripAfterObfuscation = true)]
[GuidAttribute("90D39685-EA0E-47a9-8924-F95CA6B84A61")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class SPVssDiscoveryHelper : SPPersistedObject

備註

用於此類別為基底類別建立保存SharePoint Foundation伺服器陣列,會將自訂的非資料庫內容元件的相關資訊傳遞至SharePoint Foundation VSS 編寫器服務(有時稱為 SPF 編寫器服務) 的子物件。

您也必須建立自訂的非資料庫元件的 VSS 編寫器。

自訂資料庫元件只需要在伺服器陣列設定資料庫中註冊。SharePoint VSS 編寫器服務,包括其以及陰影複製的原生SharePoint Foundation資料庫中沒有內建的 VSS 編寫器。據以,您不需要建立的 VSS 編寫器,也不需要從SPVssDiscoveryHelper或SPVssComponentDefinition資料庫元件的衍生類別。

Notes to inheritors

當您繼承自SPVssDiscoveryHelper時,您必須覆寫的下列成員: Run

您的衍生類別的物件被保存在設定資料庫的伺服器陣列第一次呼叫物件的Update方法。

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

請參閱

參照

SPVssDiscoveryHelper members

Microsoft.SharePoint.Administration.Backup namespace

其他資源

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