Backup.FormatMedia 속성

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

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.SmoExtended(Microsoft.SqlServer.SmoExtended.dll)

구문

‘선언
Public Property FormatMedia As Boolean 
    Get 
    Set
‘사용 방법
Dim instance As Backup 
Dim value As Boolean 

value = instance.FormatMedia

instance.FormatMedia = value
public bool FormatMedia { get; set; }
public:
property bool FormatMedia {
    bool get ();
    void set (bool value);
}
member FormatMedia : bool with get, set
function get FormatMedia () : boolean 
function set FormatMedia (value : boolean)

속성 값

유형: System.Boolean
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.

주의

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

데이터베이스 및 트랜잭션 로그 백업 및 복원

참고 항목

참조

Backup 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스

관련 자료

BACKUP(Transact-SQL)

데이터베이스 및 트랜잭션 로그 백업 및 복원