共用方式為


SPSolutionValidationProperties.ValidationErrorMessage property

取得或設定錯誤訊息,說明解決方案無效的原因。

Namespace:  Microsoft.SharePoint.UserCode
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Property ValidationErrorMessage As String
    Get
    Set
'用途
Dim instance As SPSolutionValidationProperties
Dim value As String

value = instance.ValidationErrorMessage

instance.ValidationErrorMessage = value
public string ValidationErrorMessage { get; set; }

Property value

Type: System.String
字串,包含錯誤訊息。

請參閱

參照

SPSolutionValidationProperties class

SPSolutionValidationProperties members

Microsoft.SharePoint.UserCode namespace