共用方式為


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
管理伺服器