共用方式為


Column.RuleSchema 屬性

Gets or sets the rule schema that is bound to the column.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase,  _
    "dbo")> _
Public Property RuleSchema As String 
    Get 
    Set
'用途
Dim instance As Column 
Dim value As String 

value = instance.RuleSchema

instance.RuleSchema = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase, 
    "dbo")]
public string RuleSchema { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase, 
    L"dbo")]
public:
property String^ RuleSchema {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase, 
    "dbo")>]
member RuleSchema : string with get, set
function get RuleSchema () : String 
function set RuleSchema (value : String)

屬性值

型別:System.String
A String value that specifies the name of the rule schema that is bound to the column.

備註

[!附註]

The value of the RuleSchema property is always treated as an empty string by columns based on the UserDefinedTableType object.

範例

使用資料庫物件

請參閱

參考

Column 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

建立、改變和移除結構描述