BackupDirectory Property
Microsoft SQL Server의 이후 버전에서는 이 기능이 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 않도록 하고, 현재 이 기능을 사용하는 응용 프로그램은 수정하십시오.
The BackupDirectory property specifies the backup directory.
구문
object.BackupDirectory [= value]
Parts
object
An expression that evaluates to an object in the Applies To listvalue
A string that specifies the backup directory path
Data Type
String
Modifiable
Read/write
Prototype (C/C++)
HRESULT GetBackupDirectory(SQLDMO_LPBSTR pRetVal);
HRESULT SetBackupDirectory(SQLDMO_LPCSTR NewValue);
주의
Use the BackupDirectory property to specify a location other than the default directory location when running multiple instances of Microsoft SQL Server.
By default, the default instance of SQL Server stores backup files in the C:\Program Files\Microsoft SQL Server\Mssql\Backup directory. By default, a named instance of SQL Server stores backup files in the C:\Program Files\Microsoft SQL Server\Mssql$InstanceName\Backup directory, where InstanceName is the name of a nondefault instance of SQL Server.
Note BackupDirectory can be used with Microsoft SQL Server 7.0 and later.