共用方式為


DataSourceInformation.IndexMaxLength 欄位

指定索引名稱的最大長度的資料來源資訊屬性。

命名空間:  Microsoft.VisualStudio.Data.Framework
組件:  Microsoft.VisualStudio.Data.Framework (在 Microsoft.VisualStudio.Data.Framework.dll 中)

語法

'宣告
Public Const IndexMaxLength As String
public const string IndexMaxLength
public:
literal String^ IndexMaxLength
static val mutable IndexMaxLength: string
public const var IndexMaxLength : String

備註

Visual Studio 查詢設計工具會使用這項資訊決定剖析及驗證索引名稱。

這個屬性的範例值可能為 128。

.NET Framework 安全性

請參閱

參考

DataSourceInformation 類別

Microsoft.VisualStudio.Data.Framework 命名空間