命名空间:  Microsoft.Data.Schema.SchemaModel
程序集:  Microsoft.Data.Schema(在 Microsoft.Data.Schema.dll 中)
语法
声明
Public Shared Function Attach ( _
    modelSchema As ModelSchema, _
    modelFileName As String, _
    progressReporter As Func(Of String, Boolean, Boolean) _
) As ModelStore
public static ModelStore Attach(
    ModelSchema modelSchema,
    string modelFileName,
    Func<string, bool, bool> progressReporter
)
public:
static ModelStore^ Attach(
    ModelSchema^ modelSchema, 
    String^ modelFileName, 
    Func<String^, bool, bool>^ progressReporter
)
static member Attach : 
        modelSchema:ModelSchema * 
        modelFileName:string * 
        progressReporter:Func<string, bool, bool> -> ModelStore 
public static function Attach(
    modelSchema : ModelSchema, 
    modelFileName : String, 
    progressReporter : Func<String, boolean, boolean>
) : ModelStore
参数
- modelSchema
 类型:Microsoft.Data.Schema.SchemaModel.ModelSchema
- modelFileName
 类型:System.String
- progressReporter
 类型:System.Func<String, Boolean, Boolean>
返回值
类型:Microsoft.Data.Schema.SchemaModel.ModelStore
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。