ModelStore.CreateIdentifier 方法 (array<String )

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

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

語法

'宣告
Public Function CreateIdentifier ( _
    ParamArray parts As String() _
) As ModelIdentifier
public ModelIdentifier CreateIdentifier(
    params string[] parts
)
public:
ModelIdentifier^ CreateIdentifier(
    ... array<String^>^ parts
)
member CreateIdentifier : 
        parts:string[] -> ModelIdentifier 
public function CreateIdentifier(
    ... parts : String[]
) : ModelIdentifier

參數

傳回值

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

備註

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

.NET Framework 安全性

請參閱

參考

ModelStore 類別

CreateIdentifier 多載

Microsoft.Data.Schema.SchemaModel 命名空間

ModelIdentifier