Compartilhar via


Propriedade Rule

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property Rule As String
    Get
    Set
'Uso
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)

Valor da propriedade

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

Comentários

ObservaçãoObservação

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