Condividi tramite


Proprietà Rule

Gets or sets a SQL Server rule that is bound to the user-defined data type.

Spazio dei nomi:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property Rule As String
    Get
    Set
'Utilizzo
Dim instance As UserDefinedDataType
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)

Valore proprietà

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