共用方式為


MaxTransferSize 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.SmoExtended (在 Microsoft.SqlServer.SmoExtended.dll 中)

語法

'宣告
Public Property MaxTransferSize As Integer
    Get
    Set
'用途
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)

屬性值

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

備註

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