void AddAlternativeLocationMapping( Guid writerId, VssComponentType componentType, string logicalPath, string componentName, string path, string filespec, bool recursive, string destination )
Sub AddAlternativeLocationMapping ( writerId As Guid, componentType As VssComponentType, logicalPath As String, componentName As String, path As String, filespec As String, recursive As Boolean, destination As String )
void AddAlternativeLocationMapping( Guid writerId, VssComponentType componentType, String^ logicalPath, String^ componentName, String^ path, String^ filespec, bool recursive, String^ destination )
String containing the logical path to the component. The logical path can be .
There are no restrictions on the characters that can appear in a non-null logical path.
The path to the directory that originally contained the file to be relocated. This path must be local to the VSS machine.
The path can contain environment variables (for example, %SystemRoot%) but cannot contain wildcard characters. UNC paths are not supported.
There is no requirement that the path end with a backslash ("\"). It is up to applications that retrieve this information to check.
|ArgumentException||One of the parameters is not valid.|
|OutOfMemoryException||Out of memory or other system resources.|
|SystemException||Unexpected VSS system error. The error code is logged in the event log.|
|VssBadStateException||The backup components object is not initialized, this method has been called during a restore operation, or this method has not been called within the correct sequence.|
|VssInvalidXmlDocumentException||The XML document is not valid. Check the event log for details.|
|VssObjectNotFoundException||The specified component does not exist.|