DataFileSize Property
Esse recurso será removido em uma versão futura do Microsoft SQL Server. Evite usar esse recurso em desenvolvimentos novos e planeje modificar os aplicativos que atualmente o utilizam.
The DataFileSize property exposes the size of a Microsoft SQL Server database used for replication distribution.
Sintaxe
object
.DataFileSize [=value]
Parts
object
An expression that evaluates to an object in the Applies To listvalue
A long integer that specifies a file size in megabytes.
Data Type
Long
Modifiable
Read/write if the DistributionDatabase object is used to create a replication distribution database. Read-only if a DistributionDatabase object references an existing SQL Server database.
Prototype (C/C++)
HRESULT GetDataFileSize(LPDWORD pRetVal);
HRESULT SetDataFileSize(DWORD NewValue);
Comentários
DataFileSize returns the current size of the primary file implementing a SQL Server replication distribution database.
Set DataFileSize to control the initial size of the database primary file created when using the DistributionDatabaseobject to create a SQL Server database for replication distribution.