Condividi tramite


Proprietà Column.RuleSchema

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

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

Sintassi

'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase,  _
    "dbo")> _
Public Property RuleSchema As String 
    Get 
    Set
'Utilizzo
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)

Valore proprietà

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

Osservazioni

[!NOTA]

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

Esempi

Utilizzo degli oggetti di database

Vedere anche

Riferimento

Column Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo

Altre risorse

Creazione, modifica e rimozione di schemi