Share via


Problem.Rule Property

Gets or sets the rule used to detect the current problem.

Namespace:  Microsoft.Data.Schema.StaticCodeAnalysis
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Public Property Rule As Rule
'Usage
Dim instance As Problem 
Dim value As Rule 

value = instance.Rule

instance.Rule = value
public Rule Rule { get; private set; }
public:
property Rule^ Rule {
    Rule^ get ();
    void set (Rule^ value);
}
public function get Rule () : Rule 
public function set Rule (value : Rule)

Property Value

Type: Microsoft.Data.Schema.StaticCodeAnalysis.Rule
Returns a Rule.

.NET Framework Security

See Also

Reference

Problem Class

Problem Members

Microsoft.Data.Schema.StaticCodeAnalysis Namespace