Partager via


MaxTransferSize propriété

Gets or sets the maximum number of bytes to be transferred between the backup media and the instance of SQL Server.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.SmoExtended (dans Microsoft.SqlServer.SmoExtended.dll)

Syntaxe

'Déclaration
Public Property MaxTransferSize As Integer
    Get
    Set
'Utilisation
Dim instance As BackupRestoreBase
Dim value As Integer

value = instance.MaxTransferSize

instance.MaxTransferSize = value
public int MaxTransferSize { get; set; }
public:
property int MaxTransferSize {
    int get ();
    void set (int value);
}
member MaxTransferSize : int with get, set
function get MaxTransferSize () : int
function set MaxTransferSize (value : int)

Valeur de la propriété

Type : System. . :: . .Int32
An Int32 value that specifies the maximum number of bytes to be transferred in the backup and restore operation.

Notes

The possible values are multiples of 65536 bytes (64 KB), up to 4194304 bytes (4 MB).