次の方法で共有


DataSchemaModel.LoadExternals メソッド

保持されているモデルなど、モデル要素を外部ソースから読み込みます。

名前空間:  Microsoft.Data.Schema.SchemaModel
アセンブリ:  Microsoft.Data.Schema (Microsoft.Data.Schema.dll 内)

構文

'宣言
Public Function LoadExternals ( _
    input As TextReader, _
    fileName As String, _
    logicalSourceName As String, _
    externalPartsSubstitution As IList(Of String), _
    suppressErrorsForMissingDependencies As Boolean _
) As IList(Of IModelElement)
public IList<IModelElement> LoadExternals(
    TextReader input,
    string fileName,
    string logicalSourceName,
    IList<string> externalPartsSubstitution,
    bool suppressErrorsForMissingDependencies
)
public:
IList<IModelElement^>^ LoadExternals(
    TextReader^ input, 
    String^ fileName, 
    String^ logicalSourceName, 
    IList<String^>^ externalPartsSubstitution, 
    bool suppressErrorsForMissingDependencies
)
member LoadExternals : 
        input:TextReader * 
        fileName:string * 
        logicalSourceName:string * 
        externalPartsSubstitution:IList<string> * 
        suppressErrorsForMissingDependencies:bool -> IList<IModelElement> 
public function LoadExternals(
    input : TextReader, 
    fileName : String, 
    logicalSourceName : String, 
    externalPartsSubstitution : IList<String>, 
    suppressErrorsForMissingDependencies : boolean
) : IList<IModelElement>

パラメーター

  • fileName
    型: System.String
    モデルの読み取り元のファイルの名前。
  • logicalSourceName
    型: System.String
    モデルの論理ソース名。
  • externalPartsSubstitution
    型: System.Collections.Generic.IList<String>
    [Database].[Schema].[Table] など、3 つまたは 4 つの部分で構成される名前のオブジェクト名に付加されるオブジェクトスコープ名。
  • suppressErrorsForMissingDependencies
    型: System.Boolean
    依存関係が失われたことが原因で発生するエラーが無視されるか、または処理を中断するかを示します。

戻り値

型: System.Collections.Generic.IList<IModelElement>

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

DataSchemaModel クラス

Microsoft.Data.Schema.SchemaModel 名前空間