SqlSchemaDeploymentOptions.TryLoadSourceSqlCmdVariables Method
Loads the SourceSqlCmdVariables from the specified variables file.
Namespace: Microsoft.Data.Schema.Sql.Build
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Public Function TryLoadSourceSqlCmdVariables ( _
fileName As String, _
<OutAttribute> ByRef errors As IList(Of DataSchemaError) _
) As Boolean
public bool TryLoadSourceSqlCmdVariables(
string fileName,
out IList<DataSchemaError> errors
)
public:
bool TryLoadSourceSqlCmdVariables(
String^ fileName,
[OutAttribute] IList<DataSchemaError^>^% errors
)
member TryLoadSourceSqlCmdVariables :
fileName:string *
errors:IList<DataSchemaError> byref -> bool
public function TryLoadSourceSqlCmdVariables(
fileName : String,
errors : IList<DataSchemaError>
) : boolean
Parameters
- fileName
Type: System.String
- errors
Type: System.Collections.Generic.IList<DataSchemaError>%
Return Value
Type: System.Boolean
.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.