Database.Validate メソッド (ValidationErrorCollection, Boolean, ServerEdition)
Database が有効かどうかを示します。
名前空間: Microsoft.AnalysisServices
アセンブリ: Microsoft.AnalysisServices (Microsoft.AnalysisServices.dll)
構文
'宣言
Public Overrides Function Validate ( _
errors As ValidationErrorCollection, _
includeDetailedErrors As Boolean, _
serverEdition As ServerEdition _
) As Boolean
'使用
Dim instance As Database
Dim errors As ValidationErrorCollection
Dim includeDetailedErrors As Boolean
Dim serverEdition As ServerEdition
Dim returnValue As Boolean
returnValue = instance.Validate(errors, _
includeDetailedErrors, serverEdition)
public override bool Validate(
ValidationErrorCollection errors,
bool includeDetailedErrors,
ServerEdition serverEdition
)
public:
virtual bool Validate(
ValidationErrorCollection^ errors,
bool includeDetailedErrors,
ServerEdition serverEdition
) override
abstract Validate :
errors:ValidationErrorCollection *
includeDetailedErrors:bool *
serverEdition:ServerEdition -> bool
override Validate :
errors:ValidationErrorCollection *
includeDetailedErrors:bool *
serverEdition:ServerEdition -> bool
public override function Validate(
errors : ValidationErrorCollection,
includeDetailedErrors : boolean,
serverEdition : ServerEdition
) : boolean
パラメーター
- errors
型: Microsoft.AnalysisServices.ValidationErrorCollection
検証エラーのコレクションです。
- includeDetailedErrors
型: System.Boolean
詳細なエラー情報を含める場合は true、含めない場合は false です。
- serverEdition
型: Microsoft.AnalysisServices.ServerEdition
サーバー エディションです。
戻り値
型: System.Boolean
Database が有効な場合は true、有効でない場合は false です。