Costruttore Column (SqlSmoObject, String, DataType, Boolean)

Inizializza una nuova istanza della classe Column che utilizza l'elemento padre e il tipo di dati specificati e l'aggiunta facoltativa dell'attributo FILESTREAM.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Sub New ( _
    parent As SqlSmoObject, _
    name As String, _
    dataType As DataType, _
    isFileStream As Boolean _
)
'Utilizzo
Dim parent As SqlSmoObject
Dim name As String
Dim dataType As DataType
Dim isFileStream As Boolean

Dim instance As New Column(parent, _
    name, dataType, isFileStream)
public Column(
    SqlSmoObject parent,
    string name,
    DataType dataType,
    bool isFileStream
)
public:
Column(
    SqlSmoObject^ parent, 
    String^ name, 
    DataType^ dataType, 
    bool isFileStream
)
new : 
        parent:SqlSmoObject * 
        name:string * 
        dataType:DataType * 
        isFileStream:bool -> Column
public function Column(
    parent : SqlSmoObject, 
    name : String, 
    dataType : DataType, 
    isFileStream : boolean
)

Parametri

Osservazioni

If isFileStream is true and dataType is any value except [T:Microsoft.SqlServer.Management.Smo.DataType.VarBinaryMax,] an error is generated.