다음을 통해 공유


Rule 속성

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

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property Rule As String
    Get
    Set
‘사용 방법
Dim instance As Column
Dim value As String

value = instance.Rule

instance.Rule = value
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)]
public string Rule { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)]
public:
property String^ Rule {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
member Rule : string with get, set
function get Rule () : String
function set Rule (value : String)

속성 값

형식: System. . :: . .String
A String value that specifies the rule that is bound to the column.

주의

[!참고]

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