RuleCollection Class

Definition

Strongly typed collection of MAPPED_TYPE objects Supports indexing objects by their Name and Schema properties

C#
public sealed class RuleCollection : Microsoft.SqlServer.Management.Smo.SchemaCollectionBase
Inheritance

Fields

Properties

Methods

Add(Rule)
AddExisting(SqlSmoObject) (Inherited from AbstractCollectionBase)
AddImpl(SqlSmoObject) (Inherited from SortedListCollectionBase)
ClearAndInitialize(String, IEnumerable<String>)

Clears old objects and initializes the collection

(Inherited from SmoCollectionBase)
Contains(String, String) (Inherited from SchemaCollectionBase)
Contains(String) (Inherited from SchemaCollectionBase)
CopyTo(Rule[], Int32)
GetCollectionElementType() (Inherited from SmoCollectionBase)
GetEnumerator()

Returns an enumerator after making sure the collection is initialized with the default properties

(Inherited from SmoCollectionBase)
GetItemById(Int32, String) (Inherited from SmoCollectionBase)
GetItemById(Int32) (Inherited from SmoCollectionBase)
GetObjectByIndex(Int32) (Inherited from SmoCollectionBase)
ImplAddExisting(SqlSmoObject) (Inherited from SortedListCollectionBase)
InitializeChildCollection()

Initialize the child collection

(Inherited from SmoCollectionBase)
InitializeChildCollection(Boolean)

Initializes the child collection, optionally keeping all the old objects

(Inherited from SmoCollectionBase)
InitInnerCollection() (Inherited from SchemaCollectionBase)
ItemById(Int32)
Refresh() (Inherited from SmoCollectionBase)
Refresh(Boolean) (Inherited from SmoCollectionBase)
ResetCollection()

Empties the collection but doesn't attempt to retrieve any data

(Inherited from SmoCollectionBase)
ValidateParentObject(SqlSmoObject) (Inherited from SmoCollectionBase)

Explicit Interface Implementations

Applies to

Toode Versioonid
Microsoft.SqlServer.SqlManagementObjects 150.18208.0, 160.2004021.0