Espandi Riduci a icona
Questo argomento non è stato ancora valutato - Valuta questo argomento

Size Property

Questa funzionalità verrà rimossa in una delle prossime versioni di Microsoft SQL Server. Evitare di utilizzare questa funzionalità in un nuovo progetto di sviluppo e prevedere interventi di modifica nelle applicazioni in cui è attualmente implementata.

The Size property exposes the total size, in megabytes, of the Microsoft SQL Server component referenced.


object
.Size [= value]
object

An expression that evaluates to an object in the Applies To list

value

A long integer

Long

Read-only for the Database, FileGroup, and TransactionLog objects.

The Size property is used to set the initial size of operating system files referenced by DBFile and LogFile objects. The property is read/write if a SQL-DMO object is used to create a new SQL Server database or log file. The property is read-only if a DBFile or LogFile object references an existing component.

HRESULT GetSize(LPLONG pRetVal);
HRESULT SetSize(long NewValue);
Il documento è risultato utile?
(1500 caratteri rimanenti)

Aggiunte alla community

AGGIUNGI
© 2013 Microsoft. Tutti i diritti riservati.