Column Constructor (SqlSmoObject, String)
Initializes a new instance of the Column class that has the specified parent and specified name.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub New ( _
parent As SqlSmoObject, _
name As String _
)
'Usage
Dim parent As SqlSmoObject
Dim name As String
Dim instance As New Column(parent, _
name)
public Column(
SqlSmoObject parent,
string name
)
public:
Column(
SqlSmoObject^ parent,
String^ name
)
new :
parent:SqlSmoObject *
name:string -> Column
public function Column(
parent : SqlSmoObject,
name : String
)
Parameters
- parent
Type: Microsoft.SqlServer.Management.Smo.SqlSmoObject
A SqlSmoObject object that specifies the parent that owns the Column object.
- name
Type: System.String
A String value that specifies the name of the column.
See Also