BackupRestoreBase.IsBackupFileDeviceSupported(DatabaseEngineEdition) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Helper to check if BackupToFile is supported on the connected server edition. SQL Managed Instances do not support backup to file.
public static bool IsBackupFileDeviceSupported (Microsoft.SqlServer.Management.Common.DatabaseEngineEdition serverEdition);
static member IsBackupFileDeviceSupported : Microsoft.SqlServer.Management.Common.DatabaseEngineEdition -> bool
Public Shared Function IsBackupFileDeviceSupported (serverEdition As DatabaseEngineEdition) As Boolean
Parameters
- serverEdition
- DatabaseEngineEdition