SqlPlanGenerationOptions.TryLoadSourceSqlCmdVariables Method
Returns whether the method loaded the source SQL command variables from the given 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
'Usage
Dim instance As SqlPlanGenerationOptions
Dim fileName As String
Dim errors As IList(Of DataSchemaError)
Dim returnValue As Boolean
returnValue = instance.TryLoadSourceSqlCmdVariables(fileName, _
errors)
public bool TryLoadSourceSqlCmdVariables(
string fileName,
out IList<DataSchemaError> errors
)
public:
bool TryLoadSourceSqlCmdVariables(
String^ fileName,
[OutAttribute] IList<DataSchemaError^>^% errors
)
public function TryLoadSourceSqlCmdVariables(
fileName : String,
errors : IList<DataSchemaError>
) : boolean
member TryLoadSourceSqlCmdVariables :
fileName:string *
errors:IList<DataSchemaError> -> bool
Parameters
- fileName
Type: System.String
The variables file name
- errors
Type: System.Collections.Generic.IList<DataSchemaError>%
The list of errors, if method is unsuccessful
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.
See Also
Reference
SqlPlanGenerationOptions Class