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