简体   繁体   中英

Determining with C# Whether a SQL Backup File is Password Protected

我将如何使用C#以编程方式确定SQL Server 2000备份文件是否已受到密码保护?

There is no native password protection for SQL Server backup files. So I'd recommend something like this:

IF (1==1)
{
//It's not password protected
}

Just kidding. Which application are you using the "Password Protect" the backup files? You'll likely have to contact the application vendor.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM