ModelStore.Attach Method
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
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
Parameters
- modelSchema
Type: Microsoft.Data.Schema.SchemaModel.ModelSchema
- modelFileName
Type: System.String
- progressReporter
Type: System.Func<String, Boolean, Boolean>
Return Value
Type: Microsoft.Data.Schema.SchemaModel.ModelStore
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.