SqlCacheDependencyDatabaseCollection.RemoveAt(Int32) 方法

定义

从集合中的指定索引处删除 SqlCacheDependencyDatabaseCollection 对象。Removes the SqlCacheDependencyDatabaseCollection object at the specified index from the collection.

public:
 void RemoveAt(int index);
public void RemoveAt (int index);
member this.RemoveAt : int -> unit
Public Sub RemoveAt (index As Integer)

参数

index
Int32

要从集合中移除的 SqlCacheDependencyDatabase 对象的索引。The index of the SqlCacheDependencyDatabase object to remove from the collection.

示例

下面的代码示例说明如何使用 RemoveAt 方法。The following code example shows how to use the RemoveAt method.

sqlCdds.RemoveAt(0);

sqlCdds.RemoveAt(0)

适用于

另请参阅