共用方式為


SafeToPrepareAttribute 建構函式

Initializes a new instance of the SafeToPrepareAttribute class.

命名空間:  Microsoft.AnalysisServices.AdomdServer
組件:  msmgdsrv (在 msmgdsrv.dll 中)

語法

'宣告
Public Sub New ( _
    safeToPrepare As Boolean _
)
'用途
Dim safeToPrepare As Boolean 

Dim instance As New SafeToPrepareAttribute(safeToPrepare)
public SafeToPrepareAttribute(
    bool safeToPrepare
)
public:
SafeToPrepareAttribute(
    bool safeToPrepare
)
new : 
        safeToPrepare:bool -> SafeToPrepareAttribute
public function SafeToPrepareAttribute(
    safeToPrepare : boolean
)

參數

  • safeToPrepare
    型別:System.Boolean
    A value that indicates whether the associated method is safe to run with the ExecuteForPrepare property set to true.

請參閱

參考

SafeToPrepareAttribute 類別

Microsoft.AnalysisServices.AdomdServer 命名空間