Поделиться через


Свойство ComputedText

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

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Expensive Or SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property ComputedText As String
    Get
    Set
'Применение
Dim instance As Column
Dim value As String

value = instance.ComputedText

instance.ComputedText = value
[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);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.ReadOnlyAfterCreation)>]
member ComputedText : string with get, set
function get ComputedText () : String
function set ComputedText (value : String)

Значение свойства

Тип System. . :: . .String
A String value that specifies the Transact-SQL expression that is used to generate the value of a computed column.