Поделиться через


Server.SetDefaultInitFields Method

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

Замечания

Изменения текста

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.

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.

Список перегрузок

Имя 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.

См. также

Справочник

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

Другие ресурсы

How to: Set Default Initialization Fields in Visual Basic .NET
Setting Properties
Calling Methods
Управление серверами