ModelStore.CreateIdentifier 方法 (ICollection<String>)

使用提供的部分名稱集合,建立唯一模型識別項。

命名空間:  Microsoft.Data.Schema.SchemaModel
組件:  Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)

語法

'宣告
Public Function CreateIdentifier ( _
    parts As ICollection(Of String) _
) As ModelIdentifier
public ModelIdentifier CreateIdentifier(
    ICollection<string> parts
)
public:
ModelIdentifier^ CreateIdentifier(
    ICollection<String^>^ parts
)
member CreateIdentifier : 
        parts:ICollection<string> -> ModelIdentifier 
public function CreateIdentifier(
    parts : ICollection<String>
) : ModelIdentifier

參數

傳回值

型別:Microsoft.Data.Schema.SchemaModel.ModelIdentifier
唯一的識別項。如果具有相同部分的識別項已經存在,則會傳回這個識別項。

備註

名為 "dbo.MyTable" 的項目可由含有 "dbo" 和 "MyTable" 的名稱部分陣列來表示。

.NET Framework 安全性

請參閱

參考

ModelStore 類別

CreateIdentifier 多載

Microsoft.Data.Schema.SchemaModel 命名空間

ModelIdentifier