Udostępnij za pośrednictwem


Column.ComputedText Property

Gets or sets the Transact-SQL expression that is used to generate the value of a computed column

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Deklaracja
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Expensive Or SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property ComputedText As String
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.ReadOnlyAfterCreation)] 
public string ComputedText { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Expensive|SfcPropertyFlags::ReadOnlyAfterCreation)] 
public:
property String^ ComputedText {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_ComputedText ()

/** @property */
public void set_ComputedText (String value)
public function get ComputedText () : String

public function set ComputedText (value : String)

Property Value

A String value that specifies the Transact-SQL expression that is used to generate the value of a computed column.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.