Partager via


SecurityPredicateCollection Class

Definition

Strongly typed list of MAPPED_TYPE objects Has strongly typed support for all of the methods of the sorted list class

public sealed class SecurityPredicateCollection : Microsoft.SqlServer.Management.Smo.SecurityPredicateCollectionBase
type SecurityPredicateCollection = class
    inherit SecurityPredicateCollectionBase
Public NotInheritable Class SecurityPredicateCollection
Inherits SecurityPredicateCollectionBase
Inheritance

Fields

initialized (Inherited from AbstractCollectionBase)

Properties

Count (Inherited from SmoCollectionBase)
IsSynchronized (Inherited from SmoCollectionBase)
Item[Int32]

Returns the security predicate for a given index

Parent

Returns the parent object

ParentInstance (Inherited from AbstractCollectionBase)
SyncRoot (Inherited from SmoCollectionBase)

Methods

Add(SecurityPredicate)

Adds the security predicate to the collection.

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(Int32)

Contains Method

(Inherited from SecurityPredicateCollectionBase)
CopyTo(SecurityPredicate[], Int32)

Copies the collection to an arryay

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)
GetItemByTargetObjectID(Int32, SecurityPredicateType, SecurityPredicateOperation)

Gets the security predicate for a given target object ID, type, and operation.

(Inherited from SecurityPredicateCollectionBase)
GetItemByTargetObjectID(Int32)

Gets the filter predicate that applies to the specified object id if it exists.

(Inherited from SecurityPredicateCollectionBase)
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()

Internal Storage

(Inherited from SecurityPredicateCollectionBase)
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

ICollection.CopyTo(Array, Int32) (Inherited from SmoCollectionBase)

Applies to