Share via


ComputedColumnInfo Constructor

Initializes a new instance of the ComputedColumnInfo class using the given computed column specification.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
Public Sub New ( _
    text As String, _
    isPersisted As Boolean _
)
'Usage
Dim text As String
Dim isPersisted As Boolean

Dim instance As New ComputedColumnInfo(text, isPersisted)
public ComputedColumnInfo(
    string text,
    bool isPersisted
)
public:
ComputedColumnInfo(
    String^ text, 
    bool isPersisted
)
new : 
        text:string * 
        isPersisted:bool -> ComputedColumnInfo
public function ComputedColumnInfo(
    text : String, 
    isPersisted : boolean
)

Parameters

  • text
    Type: System.String
    The computed column Transact-SQL expression text.
  • isPersisted
    Type: System.Boolean
    true to indicate that the computed column is persisted; otherwise, false.