Condividi tramite


Server.SetDefaultInitFields Method

Specifies whether all the properties are fetched when objects are instantiated.

Osservazioni

Testo aggiornato:

The SetDefaultInitFields method has several overloads that give you option to set the default initialization fields for a specified type, and for specified properties of the type.

Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.

Elenco degli overload

Nome Description
Server.SetDefaultInitFields (Boolean)
Specifies all the properties are fetched when objects are instantiated.
Server.SetDefaultInitFields (Type, Boolean)
Specifies all the properties are fetched when objects of the specified type are instantiated.
Server.SetDefaultInitFields (Type, String[])
Specifies the properties that are fetched when objects of the specified type are instantiated.
Server.SetDefaultInitFields (Type, StringCollection)
Specifies the properties that are fetched when objects of the specified type are instantiated.

Vedere anche

Riferimento

Server Class
Server Members
Microsoft.SqlServer.Management.Smo Namespace

Altre risorse

How to: Set Default Initialization Fields in Visual Basic .NET
Setting Properties
Calling Methods
Gestione dei server