Constructeur Column (SqlSmoObject, String, DataType)
Initializes a new instance of the Column class that has the specified parent and specified name.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub New ( _
parent As SqlSmoObject, _
name As String, _
dataType As DataType _
)
'Utilisation
Dim parent As SqlSmoObject
Dim name As String
Dim dataType As DataType
Dim instance As New Column(parent, _
name, dataType)
public Column(
SqlSmoObject parent,
string name,
DataType dataType
)
public:
Column(
SqlSmoObject^ parent,
String^ name,
DataType^ dataType
)
new :
parent:SqlSmoObject *
name:string *
dataType:DataType -> Column
public function Column(
parent : SqlSmoObject,
name : String,
dataType : DataType
)
Paramètres
- parent
Type : Microsoft.SqlServer.Management.Smo.SqlSmoObject
A SqlSmoObject object that specifies the parent of the Column object.
- name
Type : System.String
A String value that specifies the name of the column.
- dataType
Type : Microsoft.SqlServer.Management.Smo.DataType
A DataType object value that specifies the data type assigned to the column.
Exemples
Utilisation des objets de base de données
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Management.Smo