Column.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 Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design)> _
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|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)]
public string ComputedText { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Expensive|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Design)]
public:
property String^ ComputedText {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)>]
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.

示例

使用数据库对象

请参阅

参考

Column 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

CREATE TABLE (Transact-SQL)