Server.SetDefaultInitFields Server.SetDefaultInitFields Server.SetDefaultInitFields Method

Definition

Overloads

SetDefaultInitFields(Type, StringCollection) SetDefaultInitFields(Type, StringCollection) SetDefaultInitFields(Type, StringCollection)

Set the default for the fields of the given object type. This function will be deprecated. Please use the overload function.

SetDefaultInitFields(Type, String[]) SetDefaultInitFields(Type, String[]) SetDefaultInitFields(Type, String[])

Set the default fields of the given object type. This function will be deprecated. Please use the overload function.

SetDefaultInitFields(Boolean) SetDefaultInitFields(Boolean) SetDefaultInitFields(Boolean)
SetDefaultInitFields(Type, DatabaseEngineEdition, String[]) SetDefaultInitFields(Type, DatabaseEngineEdition, String[])

Set the default fields of the given object type

SetDefaultInitFields(Type, StringCollection, DatabaseEngineEdition) SetDefaultInitFields(Type, StringCollection, DatabaseEngineEdition)

Set the default fields of the given object type

SetDefaultInitFields(Type, Boolean, DatabaseEngineEdition) SetDefaultInitFields(Type, Boolean, DatabaseEngineEdition)

Set the default fields of the given object type

SetDefaultInitFields(Type, Boolean) SetDefaultInitFields(Type, Boolean) SetDefaultInitFields(Type, Boolean)

Set the default fields of the given object type. This function will be deprecated. Please use the overload function.

SetDefaultInitFields(Type, StringCollection) SetDefaultInitFields(Type, StringCollection) SetDefaultInitFields(Type, StringCollection)

Set the default for the fields of the given object type. This function will be deprecated. Please use the overload function.

public void SetDefaultInitFields (Type typeObject, System.Collections.Specialized.StringCollection fields);
member this.SetDefaultInitFields : Type * System.Collections.Specialized.StringCollection -> unit
Public Sub SetDefaultInitFields (typeObject As Type, fields As StringCollection)

Parameters

typeObject
Type Type Type

Type of the object

SetDefaultInitFields(Type, String[]) SetDefaultInitFields(Type, String[]) SetDefaultInitFields(Type, String[])

Set the default fields of the given object type. This function will be deprecated. Please use the overload function.

public void SetDefaultInitFields (Type typeObject, params string[] fields);
member this.SetDefaultInitFields : Type * string[] -> unit
Public Sub SetDefaultInitFields (typeObject As Type, ParamArray fields As String())

Parameters

typeObject
Type Type Type

Type of the object

fields
String[]

List of the fields

SetDefaultInitFields(Boolean) SetDefaultInitFields(Boolean) SetDefaultInitFields(Boolean)

public void SetDefaultInitFields (bool allFields);
member this.SetDefaultInitFields : bool -> unit
Public Sub SetDefaultInitFields (allFields As Boolean)

Parameters

allFields
Boolean Boolean Boolean

SetDefaultInitFields(Type, DatabaseEngineEdition, String[]) SetDefaultInitFields(Type, DatabaseEngineEdition, String[])

Set the default fields of the given object type

public void SetDefaultInitFields (Type typeObject, Microsoft.SqlServer.Management.Common.DatabaseEngineEdition databaseEngineEdition, params string[] fields);
member this.SetDefaultInitFields : Type * Microsoft.SqlServer.Management.Common.DatabaseEngineEdition * string[] -> unit

Parameters

typeObject
Type Type Type

Type of the object

databaseEngineEdition
DatabaseEngineEdition DatabaseEngineEdition DatabaseEngineEdition

Database edition of the object. This is required a Database and it children can have different properties based on the databaseEngineEdition

fields
String[]

List of the fields

SetDefaultInitFields(Type, StringCollection, DatabaseEngineEdition) SetDefaultInitFields(Type, StringCollection, DatabaseEngineEdition)

Set the default fields of the given object type

public void SetDefaultInitFields (Type typeObject, System.Collections.Specialized.StringCollection fields, Microsoft.SqlServer.Management.Common.DatabaseEngineEdition databaseEngineEdition);
member this.SetDefaultInitFields : Type * System.Collections.Specialized.StringCollection * Microsoft.SqlServer.Management.Common.DatabaseEngineEdition -> unit

Parameters

typeObject
Type Type Type

Type of the object

databaseEngineEdition
DatabaseEngineEdition DatabaseEngineEdition DatabaseEngineEdition

Database edition of the object. This is required as a Database and it children can have different properties based on the databaseEngineEdition

SetDefaultInitFields(Type, Boolean, DatabaseEngineEdition) SetDefaultInitFields(Type, Boolean, DatabaseEngineEdition)

Set the default fields of the given object type

public void SetDefaultInitFields (Type typeObject, bool allFields, Microsoft.SqlServer.Management.Common.DatabaseEngineEdition databaseEngineEdition);
member this.SetDefaultInitFields : Type * bool * Microsoft.SqlServer.Management.Common.DatabaseEngineEdition -> unit

Parameters

typeObject
Type Type Type

Type of the object

allFields
Boolean Boolean Boolean

Should set all fields or not

databaseEngineEdition
DatabaseEngineEdition DatabaseEngineEdition DatabaseEngineEdition

Database edition of the object. This is required a Database and it children can have different properties based on the databaseEngineEdition

SetDefaultInitFields(Type, Boolean) SetDefaultInitFields(Type, Boolean) SetDefaultInitFields(Type, Boolean)

Set the default fields of the given object type. This function will be deprecated. Please use the overload function.

public void SetDefaultInitFields (Type typeObject, bool allFields);
member this.SetDefaultInitFields : Type * bool -> unit
Public Sub SetDefaultInitFields (typeObject As Type, allFields As Boolean)

Parameters

typeObject
Type Type Type

Type of the object

allFields
Boolean Boolean Boolean

Should set all fields or not

Applies to