共用方式為


TSqlModel.Validate 方法

Validates the model and returns a list of messages with any errors/warnings.

命名空間:  Microsoft.SqlServer.Dac.Model
組件:  Microsoft.SqlServer.Dac.Extensions (在 Microsoft.SqlServer.Dac.Extensions.dll 中)

語法

'宣告
Public Function Validate As IList(Of DacModelMessage)
'用途
Dim instance As TSqlModel 
Dim returnValue As IList(Of DacModelMessage)

returnValue = instance.Validate()
public IList<DacModelMessage> Validate()
public:
IList<DacModelMessage^>^ Validate()
member Validate : unit -> IList<DacModelMessage> 
public function Validate() : IList<DacModelMessage>

傳回值

型別:System.Collections.Generic.IList<DacModelMessage>
The model and returns a list of messages with any errors/warnings.

請參閱

參考

TSqlModel 類別

Microsoft.SqlServer.Dac.Model 命名空間