SPVssComponentDefinition.ServerName Property
The name of the server that hosts the component.
Namespace: Microsoft.SharePoint.Administration.Backup
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Overridable ReadOnly Property ServerName As String
Get
'Usage
Dim instance As SPVssComponentDefinition
Dim value As String
value = instance.ServerName
public virtual string ServerName { get; }
Property Value
Type: System.String
The name of the server where the non-database component lives.
Remarks
The default implementation returns the server name passed to the constructor SPVssComponentDefinition().
If the content component is duplicated on all front-end Web servers, then ServerName 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
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