SqlCacheDependencyDatabaseCollection.AllKeys 属性

定义

public:
 property cli::array <System::String ^> ^ AllKeys { cli::array <System::String ^> ^ get(); };
public string[] AllKeys { get; }
member this.AllKeys : string[]
Public ReadOnly Property AllKeys As String()

属性值

String[]

包含集合键的 string 数组。

示例

下面的代码示例说明如何使用 AllKeys 属性。


object[] collectionKeys = sqlCdds.AllKeys;
Dim collectionKeys As String() = sqlCdds.AllKeys

适用于