Column.Rule Property
Gets or sets the rule that is bound to the column.
This API is not CLS-compliant.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Bildirim
<SfcReferenceAttribute(GetType(Rule), "Server[@Name = '{0}']/Database[@Name = '{1}']/Rule[@Name='{2}' and @Schema='{3}']", _
)> _
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
<CLSCompliantAttribute(False)> _
Public Property Rule As String
Get
Set
'Kullanım
Dim instance As Column
Dim value As String
value = instance.Rule
instance.Rule = value
[SfcReferenceAttribute(typeof(Rule), "Server[@Name = '{0}']/Database[@Name = '{1}']/Rule[@Name='{2}' and @Schema='{3}']",
)]
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
[CLSCompliantAttribute(false)]
public string Rule { get; set; }
[SfcReferenceAttribute(typeof(Rule), L"Server[@Name = '{0}']/Database[@Name = '{1}']/Rule[@Name='{2}' and @Schema='{3}']",
)]
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
[CLSCompliantAttribute(false)]
public:
property String^ Rule {
String^ get ();
void set (String^ value);
}
[<SfcReferenceAttribute(typeof(Rule), "Server[@Name = '{0}']/Database[@Name = '{1}']/Rule[@Name='{2}' and @Schema='{3}']",
)>]
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
[<CLSCompliantAttribute(false)>]
member Rule : string with get, set
function get Rule () : String
function set Rule (value : String)
Property Value
Type: System.String
A String value that specifies the rule that is bound to the column.
Remarks
Not
The value of the Rule property is always treated as an empty string by columns based on the UserDefinedTableType object.
Examples
See Also
Reference
Microsoft.SqlServer.Management.Smo Namespace