Compartir a través de


Backup.FormatMedia Property

Gets or sets a Boolean property value that determines whether a tape is formatted as the first step of the backup operation.

Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintaxis

'Declaración
Public Property FormatMedia As Boolean
public bool FormatMedia { get; set; }
public:
property bool FormatMedia {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_FormatMedia ()

/** @property */
public void set_FormatMedia (boolean value)
public function get FormatMedia () : boolean

public function set FormatMedia (value : boolean)

Valor de propiedad

A Boolean value that specifies whether the tape will be formatted. If True, the Microsoft SQL Server backup operation attempts to format the tape as the initial step. If False (default), the SQL Server backup operation does not attempt to format the tape.

Notas

The FormatMedia property applies only when the backup medium is tape. The property has no meaning for device, file, or pipe media.

Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.

Ejemplo

How to: Back Up Databases and Transaction Logs in Visual Basic .NET

Seguridad para subprocesos

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

Backup Class
Backup Members
Microsoft.SqlServer.Management.Smo Namespace

Otros recursos

Realizar copias de seguridad y restaurar bases de datos en SQL Server
BACKUP (Transact-SQL)