Partager via


BackupRestoreBase.IsBackupFileDeviceSupported(DatabaseEngineEdition) Method

Definition

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

Returns

Applies to