SPVssComponentDefinition.ServerName 属性
承载该组件的服务器的名称。
命名空间: Microsoft.SharePoint.Administration.Backup
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Overridable ReadOnly Property ServerName As String
Get
用法
Dim instance As SPVssComponentDefinition
Dim value As String
value = instance.ServerName
public virtual string ServerName { get; }
属性值
类型:System.String
非数据库组件所在的服务器的名称。
备注
默认实现将返回传递给构造函数SPVssComponentDefinition()的服务器名称。
如果在所有前端 Web 服务器上重复的内容组件, ServerName可以是任何任意的前端 Web 服务器的名称。恢复该组件的代码需要还原到所有前端 Web 服务器。如果这是不可能的必须与自己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