ModelExtensions.ToTmdl 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
ToTmdl(Model) |
重要事項:TMDL 仍在預覽狀態,且 API 介面在 GA 之前可能仍會修改! 根據 Secified 模型的元數據來建置一組 TMDL 檔。 |
ToTmdl(Model, MetadataSerializationOptions) |
重要事項:TMDL 仍在預覽狀態,且 API 介面在 GA 之前可能仍會修改! 使用指定的選項,根據 Secified 模型的元數據來建置一組 TMDL 檔。 |
ToTmdl(Model)
重要事項:TMDL 仍在預覽狀態,且 API 介面在 GA 之前可能仍會修改!
根據 Secified 模型的元數據來建置一組 TMDL 檔。
public static System.Collections.Generic.IEnumerable<Microsoft.AnalysisServices.Tabular.Serialization.MetadataDocument> ToTmdl (this Microsoft.AnalysisServices.Tabular.Model model);
static member ToTmdl : Microsoft.AnalysisServices.Tabular.Model -> seq<Microsoft.AnalysisServices.Tabular.Serialization.MetadataDocument>
<Extension()>
Public Function ToTmdl (model As Model) As IEnumerable(Of MetadataDocument)
參數
- model
- Model
來源模型。
傳回
的集合 MetadataDocument,表示模型的元數據。
例外狀況
指定的模型是 Null 參考, (Visual Basic 中的 Nothing) 。
適用於
ToTmdl(Model, MetadataSerializationOptions)
重要事項:TMDL 仍在預覽狀態,且 API 介面在 GA 之前可能仍會修改!
使用指定的選項,根據 Secified 模型的元數據來建置一組 TMDL 檔。
public static System.Collections.Generic.IEnumerable<Microsoft.AnalysisServices.Tabular.Serialization.MetadataDocument> ToTmdl (this Microsoft.AnalysisServices.Tabular.Model model, Microsoft.AnalysisServices.Tabular.Serialization.MetadataSerializationOptions options);
static member ToTmdl : Microsoft.AnalysisServices.Tabular.Model * Microsoft.AnalysisServices.Tabular.Serialization.MetadataSerializationOptions -> seq<Microsoft.AnalysisServices.Tabular.Serialization.MetadataDocument>
<Extension()>
Public Function ToTmdl (model As Model, options As MetadataSerializationOptions) As IEnumerable(Of MetadataDocument)
參數
- model
- Model
來源模型。
- options
- MetadataSerializationOptions
串行化作業的選項。
傳回
的集合 MetadataDocument,表示模型的元數據。
例外狀況
- 指定的模型是 Null 參考, (Visual Basic 中的 Nothing) 。
- 指定的選項實例是 Visual Basic () 中 Nothing 的 Null 參考。